Is there an equivalent to the SQL Management Studio "GO" Command?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
evato
Posts: 3
Joined: Sun Mar 03, 2013 12:41 pm

Is there an equivalent to the SQL Management Studio "GO" Command?

Post by evato » Wed Nov 13, 2019 7:13 pm

Does anyone know if there is an equivalent to the SQL Management Studio command of "GO" ?

I had tried to run a script that had a "GO" statement in it, but PrimalSQL had returned a Incorrect syntax near 'Go' response.

https://docs.microsoft.com/en-us/sql/t- ... rver-ver15

User avatar
brittneyr
Site Admin
Posts: 243
Joined: Thu Jun 01, 2017 7:20 am

Re: Is there an equivalent to the SQL Management Studio "GO" Command?

Post by brittneyr » Thu Nov 14, 2019 8:14 am

GO is not a SQL keyword. It's a batch separator used by client tools (like SSMS) to break the entire script up into batches. You'll have to break up the script into batches yourself.

You are welcome to file a feature request here and we will see what we can do:
https://www.sapien.com/requests