-
Unstable placeholder names via RWDBSelector::asString() with bind variables
Hi,
I'm using SourcePro DB version 2016.3.
When I'm calling RWDBSelector::asString() on a selector with RWDBBoundExpr()s in it, it generates placeholders with incrementing numbers over the consecutive calls.
Since asString is also used during an execute, the statement that is sent to the DB server is not consistent. This is causing unnecessary work on the DB server because it always has to reevaluate the sql to determine the execution plan.
Is there a way to keep these placeholders stable?
Thanks for the help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules