To create from command line you can do the following:
Step 1: go to Start Run and Type CMD; Opening your Windows Command Prompt
Step 2: use cd (cd = change directory) to get to
C:\Program Files\Microsoft SQL Server\MSSQL\Binn>
Step 2: Type the following:
osql -E -Q"CREATE DATABASE DotNetNuke"
This will create the database for you.
=========================================
Once the DataBase is created you can do things like this:
Type: osql -E <Press Enter>
Type: Use DotNetNuke <Press Enter>
Type: A query like: Select * from Users <Press Enter>
Type: Go <Press Enter>
The query will be executed.
Dennis J. Bottjer
Active iNet Services |
DrowningInTechnicalDebt |
Blog