Is it possible to do something like the code attached below. I'm not sure if you can use '?' parameter within the parentesised list. Unfortunately, I don't have a DB on this machine so I can't test this out myself.
Now second, tougher question. How about if I don't know the number of parameters until runtime. Would it be possible to do that without generating the string at runtime (which defeats the purpose of using a prepared statement). Thanks in advance for help and let me know if I'm not being clear enough.
Now second, tougher question. How about if I don't know the number of parameters until runtime. Would it be possible to do that without generating the string at runtime (which defeats the purpose of using a prepared statement). Thanks in advance for help and let me know if I'm not being clear enough.