I am working on a database and my task is to enter the logic.
What I need to know is: is it possible, with ORACLE SQL DEVELOPER, using the function "script table as" ?
With SQL Server, for example, I can right click on the table, click on "script table as" and get the script with all of the information (FK, contraints, ecc...).
The table is named "STRUTTURE" and is part of the user schema "SAO".
So the "full name" is "SAO.STRUTTURE".
I found out a command like this online:
set long 50000
/
select dbms_metadata.get_ddl( ‘TABLE’, ‘EMP’, ‘SCOTT’ ) from dual
but does not work.
Any one can help me?
Thank you very much in advance!