PL/SQL (MOSC)

MOSC Banner

variable in the where clause

edited Jun 25, 2014 5:00AM in PL/SQL (MOSC) 3 commentsAnswered

Hi There,

I am holding set of values in one variable which is temp in plsql procudure.

And I want to use the same in where clause...

Please could you suggest me how to do this?

Example as shown below not exactly…

temp:='X1,X2,X3,X4'

select *from where col1 in (temp);

Please help me?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center