Your WHERE
condition can be simplified like
UPDATE domain_information
SET company_name="aaa"
WHERE company_name="bbb";
More Related Contents:
- query about check constraint [closed]
- What is wrong with this multi-criteria WHERE statement?
- Is the SQL WHERE clause short-circuit evaluated?
- Generate Dates between date ranges
- ERROR: there is no unique constraint matching given keys for referenced table “bar”
- How to print VARCHAR(MAX) using Print Statement?
- SQLite – How do you join tables from different databases?
- SQL statement to select all rows from previous day
- Default row order in SELECT query – SQL Server 2008 vs SQL 2012
- What does =* mean?
- Does MS Access support “CASE WHEN” clause if connect with ODBC?
- In SQL / MySQL, what is the difference between “ON” and “WHERE” in a join statement?
- Does Mysql have an equivalent to @@ROWCOUNT like in mssql?
- SQL Select Upcoming Birthdays
- MySQL, Get users rank
- SQL error “ORA-01722: invalid number”
- Favourite performance tuning tricks [closed]
- Query a database based on result of query from another database
- SQL Error: ORA-00942 table or view does not exist
- CHECK CONSTRAINT on multiple columns
- How to use multiple CTEs in a single SQL query?
- How to return multiple rows from the stored procedure? (Oracle PL/SQL)
- How to extract week number in sql
- Why do multiple-table joins produce duplicate rows?
- SQL count consecutive days
- what is the difference between GROUP BY and ORDER BY in sql
- The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions
- COALESCE Function in TSQL
- SQL Sort Order with Null values last
- SQLite query, ‘LIKE’