I am trying to run the following...USE [master]GOCREATE DATABASE [traffic_v2010] ON PRIMARY ( NAME = N'traffic_v2010', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008\MSSQL\DATA\traffic_v2010.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON ( NAME = N'traffic_v2010', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008\MSSQL\DATA\traffic_v2010_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)GO
... but I get the following error...Msg 1828, Level 16, State 5, Line 2The logical file name "traffic_v2010" is already in use. Choose a different name.
There is no database of that name on this server and there is no .mdf file with that name in the file system.I can create the database with ssms but need this to work in a script I am sending to a client.Any ideas?