FW: How can I get the table scripts from database

FW: How can I get the table scripts from database

 

  

Hi

Good one....

SELECT DBMS_METADATA.GET_DDL('TABLE','YOUR_TABLE_NAME') FROM DUAL;

See that Table name is in proper case .... :)

Regards,
Divual

-----Original Message-----
From: Manash Baruah
[mailto:oracledba-ezmlmshield-x13660738.[Email address protected]
Sent: Monday, December 31, 2007 4:24 PM
To: LazyDBA Discussion
Subject: RE: How can I get the table scripts from database


You can use:

SELECT DBMS_METADATA.GET_DDL('TABLE','YOUR_TABLE_NAME') FROM DUAL;


Thanks & Regards,

Manash Partim Baruah
Collaboration Platform LCS-E-commerce| DBA Team| Tech Mahindra Ltd.|
Sharda Center, 6th Floor Annex Building, Pune-4, India
www.techmahindra.com


-----Original Message-----
From: Parag Rajne
[mailto:oracledba-ezmlmshield-x38059564.[Email address protected]
Sent: Monday, December 31, 2007 2:31 PM
To: LazyDBA Discussion
Subject: How can I get the table scripts from database

Hi All,
Can anybody please help me on, which system table should be
queried to get the script for particular table ?
I wan't to get the script for particular table, but I could not see that
in my tool, So please tell me where table scripts are stored in the
database ?

Thanks,
Parag


Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as:

L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech
Internal Use Only L&T Infotech General Business

This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please do
not use or disseminate the information, notify the sender and delete it
from your system.

______________________________________________________________________


---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



========================================================================
====================================================


Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahind
ra.com/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahind
ra.com/Disclaimer.html</a> internally within Tech Mahindra.

========================================================================
====================================================


---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html




DISCLAIMER:
This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

Oracle LazyDBA home page