8 lines
443 B
Batchfile
8 lines
443 B
Batchfile
|
|
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"
|
||
|
|
|