on 2013 Mar 28 5:11 PM
Hey SAP-Community,
I am new to the whole SAP Netweaver thing and currently I am working on a script and need to find out (automatically) which User/Schema is used by a given Netweaver AS Java System. I know about the naming rules (SAPSR3DB and/or SAP<SID>DB) but just in case someone has messed around with that (e.g. due to systemcopies) I want to check. My idea is, to check for some core-tables which MUST belong to the used Schema.
select OWNER,OBJECT_NAME from dba_objects where OBJECT_NAME = '<table name>';
First of all, do you think this is a good idea, and second which table may I use? I am thankfull for any thoughts on this.
Best regards,
Jochen
Request clarification before answering.
Hi Jochen,
SQL command mentioned by you looks good.
Additionally you may check following scrips
Select username from dba_users; -> This will list down all the database users include schema user.
- select OWNER,OBJECT_NAME from dba_objects where OBJECT_NAME = '<table name>';
First of all, do you think this is a good idea, and second which table may I use? I am thankfull for any thoughts on this.
You may go with table SVERS as starting points.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.