View Single Post

   
  #2 (permalink)  
Old 03-28-2008, 04:41 AM
alexandre.melard@gmail.com
 
Posts: n/a
Default Re: execute statement within statement

UP

On 17 mar, 17:06, alexandre.mel...@gmail.com wrote:
> 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
>
> AlexandreMELARD


Reply With Quote