Returning SQL and other query metadata
I wanted to return the sql from a query that I was running to find out why no records were returned. Found information here about query metadata that not only returns the sql run at the server, but tells you about returning the parameters too.
qryTest.getMetaData().getExtendedMetaData().sql
qryTest.getMetaData().getExtendedMetaData().sqlparameters
Thursday, April 23, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment