If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Prepare statement in a stored procedure.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-18-02, 13:59
Corey Corey is offline
Registered User
 
Join Date: Oct 2002
Posts: 6
Prepare statement in a stored procedure.

Is it possible to use a prepare statement in a stored procedure.

I have a need to dynamically create a select statement, but I'm having trouble with the PREPARE statement within my Stored Procedure.

Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 10-18-02, 14:56
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Take at look at the following page - look at what is allowed or not allowed within the statement block:

page
Reply With Quote
  #3 (permalink)  
Old 10-18-02, 16:53
Corey Corey is offline
Registered User
 
Join Date: Oct 2002
Posts: 6
Thanks...
Reply With Quote
  #4 (permalink)  
Old 10-18-02, 17:36
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
No problemo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On