![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, for an OnlinerReorg (SAP/ORACLE) i have to know the name of the tables without primary key. Where can i find it with sqlplus or abap? THX Best Regards, Micha |
#3
| |||
| |||
|
|
"Michael Maier" <maier_michael2003 (AT) yahoo (DOT) de> wrote in message news:99f00224.0409080001.2142293e (AT) posting (DOT) google.com... | Hi, | | for an OnlinerReorg (SAP/ORACLE) i have to know the name of the tables | without primary key. | | Where can i find it with sqlplus or abap? | | THX | | Best Regards, | Micha assuming SAP uses database constraints, these are all listed in the DBA_CONSTRAINTS (or USER_CONSTRAINTS) data dictionary view, CONSTRAINT_TYPE = 'P' you can write a query outer joining this to DBA_TABLES (or USER_TABLES) and check for NULL constraint names, or use a MINUS type query are you familiar with these techniques? ++ mcs |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi, thx a lot, i will try it tomorrow. Best Regards, Micha |
![]() |
| Thread Tools | |
| Display Modes | |
| |