init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
rem this file resets the admin password for datapro
|
||||
rem the basic format to connect and run the command is as follows
|
||||
rem sqlcmd -S ComputerName\InstanceName -U UserName -P Password -i ResetAdmin.sql -o SQL.log
|
||||
rem if using NT authentication user name and password is unnecessary
|
||||
rem adjust the server name, instance name, or database name in resetadmin.sql as needed
|
||||
sqlcmd -S (localdb)\DataPROInstance -i ResetAdmin.sql -o "SQL.log"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
USE master
|
||||
GO
|
||||
sp_attach_db 'ISO', 'C:\DataPRO_SQL\ISO.mdf'
|
||||
GO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user