- SQL code
create database SuperMaketdbon primary(name=SuperMaketdb,filename='C:\Program Files\Microsoft SQL Server\MSSQL\Date\Supermaketdb.mdf',size=100MB,maxsize=200MB,filegrowth=20MB);
执行时报错,返回的消息说设备激活错误,物理文件名'C:\Program Files\Microsoft SQL Server\MSSQL\Date\Supermaketdb.mdf'可能有误
请高手帮解决下
------解决方案--------------------
或直接用
C:\Supermaketdb.mdf