Create Database from commandline

J

Jacob Colding

Is it possible to invoke the "Create Database" method from the command-line?

I want a fully automated build process, that I can run every time the model
changes, and so I would like to be able to run a script that creates the DB
on SQL Server and then imports testdata into that model.

-Jacob
 
A

Anthony Bloesch [MSFT]

I doubt it. The code will inevitably launch the database creation wizard
and wait for user input.

Anthony

--------------------
From: "Jacob Colding" <[email protected]>
Subject: Create Database from commandline
Date: Tue, 20 Jan 2004 10:35:28 +0100
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#[email protected]>
Newsgroups: microsoft.public.visio.database.modeling
NNTP-Posting-Host: 217.157.5.107
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.visio.database.modeling:3498
X-Tomcat-NG: microsoft.public.visio.database.modeling

Is it possible to invoke the "Create Database" method from the command-line?

I want a fully automated build process, that I can run every time the model
changes, and so I would like to be able to run a script that creates the DB
on SQL Server and then imports testdata into that model.

-Jacob





--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top