<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by prashant_s_p: ...db_execute_query("query1","update table1 set t2=4 where hh=5",1)...<HR></BLOCKQUOTE>
Time for a possibly silly question because this should have worked. Are the fields t2 and hh some type of numeric field or are they actually some type of character? Whenever I hit errors like this I use the DB Editor for our system to verify my statements.
The fields are numeric types. Its workin fine in Query analyzer. But when i run the same query in WINRUNNER it gives me following error:
"Argument passed in ARG#2 in db_execute_query must be variable or array element".
I can give my script:
db_execute_query("query1","UPDATE table1 SET T1=2 WHERE T2=5", 1);
Please let me know what might be the problem.
Thanks in advance