HI, i need to execute this .bat:
echo off
sqlcmd -S MD1Z7UGC\SQLEXPRESS02 -d 1RQ_BPCSQL1 -E -i C:\BPC\Procesos_Almacenados\SQLQuery3.sql
set /p delExit=Presione una tecla para salir...:
but i got this message and nothing happened in sql:
C:\BPC\Procesos_Almacenados>sql.bat
C:\BPC\Procesos_Almacenados>echo off
Changed database context to '1RQ_BPCSQL1'.
Presione una tecla para salir...:
Please any help?
NOTE: due to i installed SSMS for free it doesn't brings the SERVER AGENT allowed, so i have to run SQL files from Windows CDM.


Amit GuptaRank #190 · 12.8K reputationPosted May 31, 2019, 5:39 AM EDT
Ramon QuintanaRank #3,303 · 435 reputationPosted May 31, 2019, 6:01 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted May 31, 2019, 6:03 AM EDT
Ramon QuintanaRank #3,303 · 435 reputationPosted May 31, 2019, 7:13 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted May 31, 2019, 9:22 AM EDT