extract schema in SQL statements
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: extract schema in SQL statements

  1. #1
    Join Date
    Apr 2001
    Posts
    257

    extract schema in SQL statements

    If someone gives you a database, what is the best way to extract its schema in the form of SQL statements so you can recreate the DB (with no data) on a different machine by running the SQL scripts?

  2. #2
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    If on 9i you can use DBMS_METADATA. Prior to 9i you can use EXPORT with ROWS=N or some reverse engineering scripts and third party tools like toad, databee etc.
    HTH
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width