where to use this code?
where to use this code :
EXEC sp_开发者_StackOverflow中文版attach_db @dbname = N'myASPNetDB',
@filename1 = N'c:\mypathdata\myaspnet.mdf',
@filename2 = N'c:\mypathlogs\myaspnet_log.ldf'
You would run that within SQL Server Management Studio.
精彩评论