Skip to Main Content

SQL Developer

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SQL Developer 4.1.5.21 Defining variables

1002330Jan 11 2017 — edited Jan 26 2017

In SQL Developer 3.2 and above (some) versions I was able to define multiple variables on a single line. However, in 4.1.5, when I run the statement, the database/memory ONLY captures the first variable and the rest are ignored. Below is an example of what I am talking about:

In 3.2 - I could define/initialize multiple sourcefile's like this:

define sourcefile = 'jan.txt', 'feb.txt', 'mar.txt';

However, in 4.1.5 the above statement does not work. I have to define sourcefiles in different lines AND run them individually...which is a major pain.

define sourcefile = 'jan.txt';

define sourcefile = 'feb.txt';

define sourcefile = 'mar.txt';

I really appreciate the help. Thanks!!

This post has been answered by Gaz in Oz on Jan 24 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2017
Added on Jan 11 2017
8 comments
1,470 views