on 01-12-2015 1:56 PM
Hi All,
There is an away to create a user with the name of existing Schema without drop Schema?
I Create a Schema AAA with user Y, now I want create a User 'AAA' to work with Schema 'AAA'.
Thank All.
>There is an away to create a user with the name of existing Schema without drop Schema?
No, because when you create a user a schema with the same name is automatically created in the system. This is supposed to be a special type of schema that should only be used to store temporary objects for the user in question. This is why the system blocks you if it sees there is already a schema with the same name created in the system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not possible in SAP HANA
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a reason you want it to have the same name? You could just assign access to schema AAA to user AAA. When you create a schema via SQL console you can assign owner there as well like this;
CREATE SCHEMA SCHEMANAMEHERE OWNED BY USERNAMEHERE
-Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.