as mentioned by timothee I think his solution is much easier. The problem with 
the '?': assume following statement
    
    
    Update myschema.mytable set mytable.question = 'how do you do ? ', 
mytable.note = ? where mytable.id = ?
    
    
    Run

In this case your code goes over the args and the index 'a' gets out of sync 
because of the question mark in the literal. Its easier to let the database 
parse the statement :-) 

Reply via email to