Top "Sql-update" questions

An SQL UPDATE statement is used to change existing rows in a table.

Python mySQL Update, Working but not updating table

I have a python script which needs to update a mysql database, I have so far: dbb = MySQLdb.connect(host="…

python mysql sql-update mysql-connector-python
Correct SQLite syntax - UPDATE SELECT with WHERE EXISTS

I am trying to update a selected values in a column in a SQLite table. I only want update of …

sqlite sql-update where exists
Update 1 field in a table from another field in a different table (OS400, not a 1 to 1 relationship)

Im trying to update a field in a table from another field in a different table. The table being updated …

sql db2 sql-update ibm-midrange
Return updated row attributes on UPDATE

My query is as follow: UPDATE t1 SET t1.foreign_key = (SELECT id FROM t2 WHERE t2.col = %s ) WHERE …

sql postgresql sql-update sql-returning
Update multiple rows in a table from another table when condition exists

I have two tables. Table1 contains companies whose locations are georeferenced with lat/lng coordinates in a column called the_…

sql postgresql sql-update postgis
How to update with Sequelize with 'NOW()' on a timestamp?

I'm trying to do something like the following: model.updateAttributes({syncedAt: 'NOW()'}); Obviously, that doesn't work because it just …

node.js datetime sql-update sequelize.js
copy one column from one table to another

I am confused about how to copy a column from one table to another table using where. I wrote SQL …

mysql sql-update
Oracle - Update string to replace only the last character

I have the following string in an Oracle 9i database: A,B,C, I need to replace all instances of …

replace sql-update oracle9i substr
UpdateError: Receiving Error ORA - 01427 Single-row subquery returns more than one row

I am trying to update a column based on another column in the same table (student table) and a column …

sql oracle sql-update ora-01427