where to use this code :
EXEC sp_attach_db @dbname = N'myASPNetDB',
@filename1 = N'c:\mypathdata\myaspnet.mdf',
@filename2 = N'c:\mypathlogs\myaspnet_log.ldf'
where to use this code :
EXEC sp_attach_db @dbname = N'myASPNetDB',
@filename1 = N'c:\mypathdata\myaspnet.mdf',
@filename2 = N'c:\mypathlogs\myaspnet_log.ldf'