I have the MSDE 2000a installed my Win2k Pro with all MS Updates. The MSDE works fine. However, I wanted to import the Northwind and Pubs databases from Microsoft to test some things. I was able to import the pubs DB without any problems using the Web Data Administrator. However, I keep getting an error on Line 1 of the import of Northwind. I cannot get the DB to import. Here are the first 10 lines of code and the error:There was an error importing the database. The status of the import is unknown.Line 1: Incorrect syntax near '/'./*** Copyright Microsoft, Inc. 1994 - 2000** All Rights Reserved.*/USE masterGOif exists (select * from sysdatabases where name='Northwind') drop database Northwindgo
If I remove the comment lines, I get:There was an error importing the database. The status of the import is unknown.Line 1: Incorrect syntax near 'E'.USE masterGOif exists (select * from sysdatabases where name='Northwind') drop database NorthwindgoDECLARE @device_directory NVARCHAR(520)SELECT @device_directory = SUBSTRING(filename, 1, CHARINDEX(N'master.mdf', LOWER(filename)) - 1)FROM master.dbo.sysaltfiles WHERE dbid = 1 AND fileid = 1
What do I need to do to get this to import?- - - -- Will -- - - -