Home Forums SQL Server 2012 SQL 2012 - General Batchfile and storing result RE: Batchfile and storing result
ramana3327
SSCoach
Points: 19700
More actions
October 6, 2015 at 4:30 pm
#1831877
I ran like this
sqlcmd -S SERVERNAME -d Master -i sql_query.bat -o output_file.txt
It is working but just I need to change the output format to understand the query result just like in ssms