Toad World® Forums

Using "go" keyword

I want to use the “go” keyword to run 2 queries one after the other so as to save my time in montoring whether the query has got completed or not.

Currently I’m using this syntax:

select count() from ABC
go
select count(
) from XYZ

THIS IS THROWING AN ERROR.

Please suggest the correct syntax

If there is no provision to run multiple queries one after the other using “go” keyword please suggest an alternative.

NOTE: THIS IS AN ORACLE DATABASE version 11G

Try

select count(*) from ABC

/

select count(*) from XYZ

select count(*) from ABC

/

select count(*) from XYZ