A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
operator IN and NUMBER
Joined: Nov 08, 2010
Jan 07, 2011 12:09:52
Is it allowed to run a query like
select * from table_name where table_name.col1 IN (1, 5, 18, 36);
It throws the ORA-00920 when in a PL/SQL procedure.
Joined: Dec 20, 2006
Jan 07, 2011 12:46:15
That should work.
OCUP UML fundamental and ITIL foundation
Joined: Aug 22, 2010
Jan 11, 2011 09:11:27
Post the whole of your procedure.
Note that plain
is not supported in a procedure, but that should trigger the P.LS-00428 error.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: operator IN and NUMBER
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014