TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ramon Quintana
NA
404
64.9k
How to execute a .bat without error
May 31 2019 8:33 AM
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.
Reply
Answers (
5
)
Getting "Error converting data type varchar to numeric."
I need to excute a .SQL file from CMD line but i got this: