Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Looping through attributes
Hi,
I'm trying to write some PL-SQL that manipulates a set of attributes with a similar name.
What's the correct way of writing
FOR i in 0..5
loop
ls_att = '[ATTRIBUTE ' || i || ']'
...
so that it returns the value in the database for ATTRIBUTE 1 etc ratrher than assigning the string [ATTRIBUTE 1} etc to ls_att?
Cheers,
Sean
Received on Fri Sep 24 2004 - 09:23:53 CDT
![]() |
![]() |