SQL*Plus (MOSC)

MOSC Banner

Avoiding long code

edited Jan 21, 2014 2:36PM in SQL*Plus (MOSC) 4 commentsAnswered
 more description:How can I escape this long process:

 

declare

i_string  NUM_ARRAY;

 

begin

if array.count > 1

then select * from table where txn_id in (1,2,34)

else

select * from table

END;

/

I hope this gives details

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