You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@isql -S . -U sa -P sa -Q "USE MASTER IF EXISTS (SELECT NAME FROM SYSDATABASES WHERE NAME ='phs_data') BEGIN EXEC sp_detach_db 'phs_data', 'true' END EXEC sp_attach_db @dbname = N'phs_data', @filename1 = N'%~1', @filename2 = N'%~2' "