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

