How to add a database diagram by means of a script

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Abhishek Srivastava (abhishek-srivastava_at_nospam.net)
Date: 03/05/04


Date: Fri, 05 Mar 2004 15:46:53 +0530

Hello All,

Is it possible to add a database diagram to a sql server database by
means of an sql script?

I am having a script which creates the entire db schema. What I would
like that script to do is to create a new database diagram as well, so
that people can understand the schema easily.

regards,
Abhishek.



Relevant Pages

  • Re: How to add a database diagram by means of a script
    ... There's no scripting option available for a database diagram, ... Tibor Karaszi, SQL Server MVP ... "Abhishek Srivastava" wrote in message ... > I am having a script which creates the entire db schema. ...
    (microsoft.public.sqlserver.programming)
  • undelete/undo - no backup
    ... I accidently ran a sql script against a production SQL server database ... Transaction log file: automatically grow, ...
    (microsoft.public.sqlserver.server)
  • Last time logged on.
    ... from the TechNet Script Center. ... I upload a "logon" event to a SQL Server database during ... >Currently our mainframe administrators have a policy ...
    (microsoft.public.windows.server.scripting)
  • WScript.Arguments: value (sometimes) includes surrounding single-quotes
    ... I have developed a script to collect data from an Access database, ... massage it and save it to a SQL Server database. ... Let's say the command line looks like this: ... I could strip the single-quotes, but inevitably, there will come a ...
    (microsoft.public.scripting.wsh)
  • Automated SQL Server Startup
    ... Is there any way start a SQL Server database through a script and still ... be able to administrate the server through EM? ... startup through a scheduled task as well. ...
    (microsoft.public.sqlserver.server)