How to fix the Oracle error ORA-01954: DEFAULT ROLE clause not valid for CREATE USER?
In this post, you’ll learn more about the Oracle ErrorORA-01954: DEFAULT ROLE clause not valid for CREATE USER with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-01954: DEFAULT ROLE clause not valid for CREATE USER
Reason for the Error ORA-01954: DEFAULT ROLE clause not valid for CREATE USER
Default roles cannot be specified for create user.
How to fix the Error ORA-01954: DEFAULT ROLE clause not valid for CREATE USER ?
You can fix this error in Oracle by following the below steps
Grant and alter the user’s default roles after creating the user.
Leave Your Comment