Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Is It Possible To Change The Batch Terminator From Go To ; In Sql Server 2008 R2

$
0
0

Hi Guys,

I have some script files which contains dml statements (only Inserts) .I have to run these script files for Oracle and sql server so the statement terminator is ; in oracle and sql server .But when I am using in sql server the error tracking is difficult in sql server if there is one insert fails but this is fine when I am using GO after each insert statement. But the problem is if I will use go I can not use these script files for Oracle. So Is there any way to change the batch separater from Go to ; in sql server.

I will appreciate each and every input and thoughts on this.

Thanks in advance.

Regards,

Papi



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>