Top "Sql-update" questions

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

How to update an SQLite database with a search and replace query?

My SQL knowledge is very limited, specially about SQLite, although I believe this is will be some sort of generic …

sql sqlite sql-update replace
MySQL - How do I update the decimal column to allow more digits?

I'm a beginner in MySQL, and I accidentally created a table with a column named (price decimal(2,2)); It needs to …

mysql sql-update decimal alter-table
How to update two columns in a MySQL database?

This doesn't work: UPDATE customers SET firstname="John" AND lastname="Smith" WHERE id=1;

mysql sql-update
How to create and insert a JSON object using MySQL queries?

I'm trying to create a JSON object and then read the values from it into MySQL table. But I'm facing …

mysql json nosql sql-update sql-insert
Error (Error Code: 1175) during executing update command on table using MySQL Workbench 5.2

I'm using MySQL Server5.5 in which MySQL Workbench 5.2 CE is included. I'm using MySQL Workbench 5.2 . I have a table named …

mysql sql-update mysql-workbench error-code
Conversion of the nvarchar value '3001822585' overflowed an int column

I use following to import Excel file to SQL Server. The Excel file has all the values as string. I …

sql sql-update type-conversion table-valued-parameters
Is there any way to rollback after commit in MySQL?

I did a big mistake that I updated a table without 'where' clause in MySQL :'( It is auto-committed. Is …

mysql sql-update rollback autocommit
MySQL/SQL: Update with correlated subquery from the updated table itself

I have a generic question that I will try to explain using an example. Say I have a table with …

mysql sql sql-update correlated-subquery
Update a column of a table with a column of another table in PostgreSQL

I want to copy all the values from one column val1 of a table table1 to one column val2 of …

sql postgresql sql-update
MySql update two tables at once

I have two tables that need the exact same values for denormalization purposes. Here's the query. first table UPDATE Table_…

mysql sql-update