SQL Server Attach Database

@dbname = ‘Northwind’,
@filename1=’C:\MSSQL7\DATA\Northwind_Data.MDF’,
@filename2=’C:\MSSQL7\DATA\Northwind_Log.LDF’ sp_attach_db (@dbname,@filename1,@filename2)