sql server - Can you make SQLCMD immediately run each statement in a script without the use of "GO"? -
when running script in sqlcmd, there setting, parameter or other way of making run go command @ end of each sql statement?
this prevent need insert periodic go commands large scripts.
no.
sqlcmd have implement full t-sql parser in order determine statement boundaries are. whereas exists, has find lines "go" on them.
determining statement boundaries can quite tricky, given ";" terminators still optional statements.
Comments
Post a Comment