PL/SQL (MOSC)

MOSC Banner

Write a procedure with Collections

edited Jul 9, 2009 12:55AM in PL/SQL (MOSC) 3 commentsAnswered ✓
 Hi All,

I have written following PL/SQL block.I want to write a procedure for the following PL/SQL code with COllections concept. I am not that much aware of Collections. So can any one please help me to write a procedure for the following PL/SQL coding.

[code]

DECLARE
   v_ctr          INTEGER;
   v_seg_l1_cd    dim_customer_segments.seg_l1_cd%TYPE;
   v_commit_ctr   NUMBER;
   CURSOR c_normalize_seg
   IS
      SELECT DISTINCT /*+ INDEX (dim_customer_segments(hist_ind) */ dim_customer_nr
                 FROM dim_customer_segments
                WHERE hist_ind = 'V'
                  AND seg_type_cd IN ('BIC_SER', 'SSPSELL')

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