Can a prepared statement have more than 1 statement in it (and bind parameters 
across the whole thing)?

Something like:

prepare_v2( h, "one statement ? ; two statement ?", -1, &s, NULL )

bind_int( s, 1, 9999 )
bind_int( s, 2, 9999 )

(I ask because I am getting a SQLITE_RANGE (25) error just after a ";" in a 
compound statement I've compiled with a param I've bound earlier...)

Thanks,

-- Ward

Reply via email to