I have looked at a number of scripting info on how to install the sample northwind and pub databases and need help. I already have the mdf and ldf files downloaded.
The scripting file on the internet says to run the following command:
osql -E -Q "exec sp_attach_db @dbname=N'Northwind',
@filename1=N'C:\path\northwind.mdf',
@filename2=N'C:\path\northwind.ldf'"
I get errors when I submit this command. My error is login failed for user "my pc name"
Any help would be appreciated
The scripting file on the internet says to run the following command:
osql -E -Q "exec sp_attach_db @dbname=N'Northwind',
@filename1=N'C:\path\northwind.mdf',
@filename2=N'C:\path\northwind.ldf'"
I get errors when I submit this command. My error is login failed for user "my pc name"
Any help would be appreciated