MySQL Forums
Forum List  »  Stored Procedures

Re: Dynamic SQL. Is it possible?
Posted by: Peter Hamilton-Scott
Date: November 04, 2005 10:06AM

Roland, you are da man, my man. :-)

No matter what I tried I could not get the prepare statement to compile. :-(

Then I read you post and tried the coalesce approach and it works 100%. Many thanks for an excellently simple and elegant solution. It cuts the size of my SP to a few lines and I no longer have all the if...end if statements. Appreciated!

Options: ReplyQuote


Subject
Views
Written By
Posted
3651
November 04, 2005 01:40AM
2765
November 04, 2005 03:51AM
2804
November 04, 2005 08:51AM
2494
November 23, 2005 10:50AM
2448
November 23, 2005 02:18PM
2520
November 04, 2005 08:54AM
Re: Dynamic SQL. Is it possible?
2548
November 04, 2005 10:06AM
6962
November 04, 2005 03:40PM
2569
November 04, 2005 05:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.