exec sp_attach_db @dbname= N'SNC_TA',
@filename1 = N'c:\program files\microsoft sql server\mssql\data\SNC_TA_Data.MDF',
@filename2 = N'c:\program files\microsoft sql server\mssql\data\SNC_TA_Log.LDF'
GO

