Re: Command Line & MS SQL Server
From: Carlos Eduardo Rojas (carloser_at_mindspring.com)
Date: 03/10/04
- Next message: Hari: "Re: Command Line & MS SQL Server"
- Previous message: Yuan Shao: "RE: IIS & SQL"
- In reply to: Noori: "Command Line & MS SQL Server"
- Next in thread: Hari: "Re: Command Line & MS SQL Server"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 23:21:51 -0500
You can create a script file (a .sql file) and then run it using the isql
command line utility. You can find more info about it in books online.
-- Carlos E. Rojas SQL Server MVP Co-Author SQL Server 2000 Programming by Example "Noori" <noori@outgun.com> wrote in message news:20040309193039.789$MQ@news.newsreader.com... > After installing MS SQL Server, I would like to be able to create the > database, user accounts and the tables without user interaction. So, I > thought of creating a batch file with the SQL commands that will run > after installation of MS SQL Server but I didn’t find any helpful > documentations. I have used MySQL before and I am new to MS SQL server > so I have few questions and any help will be helpful. Is this the way > is it suppose to be done or is there a better way? Does anyone have > examples of connecting to the MS SQL Server from command line? > > Thanks >
- Next message: Hari: "Re: Command Line & MS SQL Server"
- Previous message: Yuan Shao: "RE: IIS & SQL"
- In reply to: Noori: "Command Line & MS SQL Server"
- Next in thread: Hari: "Re: Command Line & MS SQL Server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|