Hi

Using 3.3.5

if you prepare the following statement

'insert into Table (id, id1) values( ?3, :id ); '

and then use sqlite_bind_parameter on the prepared statement you will receive the number 4. I appreciate where that answer is coming from, it takes the largest unnamed argument and adds the number of named arguments. I also appreciate that 3 is not got a very good number given it is the first one.


My question is, how do you find out the number of parameters in a statement that isn't prone to this.


Regards

Aidan

Reply via email to