Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1

    Unanswered: Scripting database

    Anybody know the name of the command-line utility or TSQL command for scripting a database or database objects?

    blindman

  2. #2
    Join Date
    Sep 2003
    Posts
    522
    i do it using sqldmo

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    At a prior office I has a job set up that xp_cmdshelled out to OS and ran a SQL Utility that scripted a database. I think it ran the same utility that Enterprise Mangler uses. Unfortunately the server I ran it on doesn't exist anymore, so my old colleagues can't recover it. It was an undocumented SQL Server feature, and it was really handy.

    blindman

  4. #4
    Join Date
    Aug 2002
    Location
    SHANGHAI,CHINA
    Posts
    20
    Use powerdesign :
    1 reverse enginnering
    2 generate database script

    or
    use enterprise manager to generate create database script

Posting Permissions

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