how i create database in sql server 2000 on dos command and in import sql script in created database on dos command.
OSQL utility is there to connect from dos to create database.
Osql -Syourinstancename -U username -P password -Q"Create database yourdb"
To import sql script(to create database objects), you need to call the script files in osql.
Osql -Syourinstancename -U username -P password -d yournewdatabsename -i"your script input files.sql"
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?