w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
vb.net problem with sql update command

Update syntax is completely invalid as stated by @JBKing.

Update statements are of form:

UPDATE myTableName SET field=new_value WHERE
condition=some_value

Also, to avoid possible injections, do not pass field values directly into SQL command. Use parameters http://stackoverflow.com/questions/11139791/how-to-use-parameters-in-an-sql-command-in-vb





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.