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!

Using System Variables in a SQL Query

773823May 19 2010 — edited May 19 2010
Hi!

I´m new to Oracle and SQL so i don´t know very much about it.

There is miy Problem:

Is there a way to Use the System Variable %USERNAME% in an SQL Query?

I tried .... where table.shorttag = '%USERNAME%' ;
but this doesnt work.

Is Oracle able to handle Systemvariables? Or is there another way to use the current Windows User in an SQL Query.
It is very Important to use the current Windows user and not the Oracle user.

Thank you,

Mfg
This post has been answered by 189821 on May 19 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2010
Added on May 19 2010
7 comments
777 views