View previous topic :: View next topic
|
Author |
Message |
hernikiten
New User
Joined: 08 Apr 2005 Posts: 23 Location: india
|
|
|
|
Hi,
Can i use an array variable in a cursor like
EXEC SQL
Declare curso.......
select * from policy where policy number IN (:WS-POL-NBR)
END-EXEC
WS-POL-NBR pic 9(06) occurs 450 times.
Is it possible? what's the syntax? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I don't believe so, but you could try it out and post your result |
|
Back to top |
|
|
vini_srcna
Active User
Joined: 26 May 2005 Posts: 178 Location: Copenhagen, Denmark
|
|
|
|
I dont think so. you may have to use some temp variable to fetch in and then pus from temp variable to the array variable. I wish i could try this one. Let us know if you have tried this. |
|
Back to top |
|
|
|