Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010

    Unanswered: extract DDL in SQL server 2005


    My requirement is to extract DDL for all objects (Functions, SP's, Tables, Indexes etc.) from the Database. Is their a way to do this in SQL server 2005?

    What i'm looking for a equivalent of DBMS_METADATA.GET_DDL() in oracle. I had a look at the SP_HELPTEXT() but i think that is needed to extract DDL for a particular SP/function.

  2. #2
    Join Date
    Feb 2004
    In front of the computer
    Provided Answers: 54
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  3. #3
    Join Date
    Dec 2010
    Hi There, There a handy and simple command line tool to do this, the DDL Extractor. You can find it at

Posting Permissions

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