View Single Post

  #1 (permalink)  
Old 03-17-2008
alexandre.melard@gmail.com
 
Posts: n/a
Default execute statement within statement

Hi,

I would like to use your experience on a problem. I would like to
execute a statement from within another statement, it seems that it is
not possible...

01 prepare STMT1
02 prepare STMT2
03
04 execute STMT1
05 fetch STMT1
06 execute STMT2
07 clean STMT2
08 fetch STMT1
09 execute STMT2
10 clean STMT2
11 clean STMT1

I get a Commands out of sync; you can't run this command now error
from line 06

I would like to get your expertise on that matters, what would be a
good work around for this?

Thank you for your support

Alexandre MELARD
Reply With Quote