ed4becky Posted October 6, 2006 Share Posted October 6, 2006 ... or string concatenation. if ${P1} = 3, is the query: select type from hospital where id = ${P1} resolved to: select type from hospital where id + ${P1}.toString() or select type from hospital where id = ? with ${P1} bound to ? at run time. Link to comment Share on other sites More sharing options...
lucianc Posted October 6, 2006 Share Posted October 6, 2006 $P{..} will produce bind variables (query parameters), while $P!{..} will be replaced as text in the query string. You can read this short tutorial page. HTH,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now