Quantcast
Channel: Questions in topic: "variables"
Viewing all articles
Browse latest Browse all 49

local variables not working

$
0
0
Hi, I have a script with the following: "UPDATE table SET column to update = ? WHERE condition = ?", text to insert, text to test condition Fot some reason SQL is not executing or even reading this line. When I misspell any of the reserved words or column names I do not get an error. HOWEVER, when I have UPDATE table SET column to update = "text to insert" WHERE Name = "text to test condition" SQL behaves as expected. The problem is the second method,which works, is not adequate for my needs. Am I missing something? THNX

Viewing all articles
Browse latest Browse all 49

Trending Articles