Getting the sql statement from a preparedstatement
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Giblin
Posted On:   Sunday, April 29, 2001 10:05 PM

I wanted to know if there was a way to get the sql string back from a prepared statement after you have set all the parameters.

Re: Getting the sql statement from a preparedstatement

Posted By:   Pieter_Kuijpers  
Posted On:   Friday, November 9, 2001 12:46 AM

You can use toString() on the PreparedStatement to get the SQL string.

Re: Getting the sql statement from a preparedstatement

Posted By:   Anonymous  
Posted On:   Thursday, July 26, 2001 09:53 PM

There is no documented means of doing this. Very frustrating since you know the driver is keeping it somewhere.
About | Sitemap | Contact