mysql - VB - Change a field id if a string in another field is "transfer" -


so have database col called accountid , have col called narrative, is. if fields in col narrative = "transfer" change accountid 2001. want happen on click of button in form.

i have tryed add code below syntax near keyword "set"

the sql query is

update your_table set accountid = 2001 narrative = 'transfer' 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -