How to know constraints [message #311971] |
Mon, 07 April 2008 10:32 |
Haler
Messages: 71 Registered: October 2004
|
Member |
|
|
Hello.
How to script for display all dependants and dependances of a table up to the root and until the end?
Thanks for help.
|
|
|
|
Re: How to know constraints [message #312245 is a reply to message #311974] |
Tue, 08 April 2008 05:07 |
Haler
Messages: 71 Registered: October 2004
|
Member |
|
|
Hello,
I entered owner=LILLE,name of table=CCOMPTES and type=TABLE
(with Define THEOWNER = &THEOWNER
Define THEOBJECT = &THEOBJECT
Define THETYPE = &THETYPE
)
and
the procedure makes me nothing (logging with sys).
What is the problem?
furthemore, I do not see constraints in the script.
What is my error?
here's the results
ancien 39 : where name = upper('&THEOWNER'))
nouveau 39 : where name = upper('LILLE'))
ancien 40 : and name = upper('&THEOBJECT')
nouveau 40 : and name = upper('CCOMPTES')
ancien 41 : and type# = decode(upper('&THETYPE'), 'NEXT OBJECT', 0,
nouveau 41 : and type# = decode(upper('TABLE'), 'NEXT OBJECT', 0,
aucune ligne sélectionnée
|
|
|
|
|
|
|
Re: How to know constraints [message #312283 is a reply to message #312274] |
Tue, 08 April 2008 07:24 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
If your request is for dependance in constraint way, you should search on this forum the question was already asked.
Regards
Michel
|
|
|