Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can someone clarify blank lines for me?

3390787Feb 3 2017 — edited Feb 4 2017

I dont think I complete understand the consequences of a blank line in my sql query file, especially when I try to run it as a script in SQL Plus or CL. 

From my understanding, it somehow stops or terminates the query (same thing with a ; ).  But I still do not know what that means. 

I just had a file involving a union which It did not work when it was

select * from a

union

select * from b.

However, when I did

select * from a
union

select * from b

it worked fine.  I'm not completely understanding what is going on here.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2017
Added on Feb 3 2017
5 comments
1,489 views