UPDATE listings SET buyer = 'Price' WHERE listnum = 12345

Double quotes are for column names.

Walt wrote:
> I have a table 'listings' with fields 'listnum', 'price' and 'buyer' etc.
>
> executing the following sql
>
> UPDATE listings SET buyer = "Price" WHERE listnum = 12345
>
> results in the 'buyer' field being set to the contents of the 'price' field 
> instead of setting the field 'buyer' to "Price".
>
> Need HELP
>
> Walt Mc Whirter
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
>   
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to