script database - create to file RRS feed

  • Question

  • In the management studio there is a function to dump the DDL of a database, script database create to and then I can choose file.

    What I was wondering and can't seem to find is, whether it is possible to somehow call this function from a program.

    Any language, and connection will do for now, if at all posible, or if there is some other way I haven't found to dump the DDL for a database this woudl be much appreciated.


    btw, I'm using a mssql 2005 database.



    Tuesday, April 24, 2007 12:23 PM


All replies