Welcome Guest, Not a member yet? Register   Sign In
Query Binding with question mark does not work
#1

I have been using the question mark all the time to mark the location of the bound values in my queries until I have met one short line of code where the question mark has refused work. I don't know why.
There notes at query bindings state that

Quote:Instead of using the question mark to mark the location of the bound values, you can name the bindings, allowing the keys of the values passed in to match placeholders in the query

I replaced the question mark with a named binding and the code worked! Why the question mark does not work, I cannot tell at all. I have tons and tons of code that use the question mark.
Reply


Messages In This Thread
Query Binding with question mark does not work - by owino - 08-25-2024, 08:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB