About 50 results
Open links in new tab
  1. sql - UPDATE from a SELECT - Stack Overflow

    In SQL Server, it is possible to insert rows into a table with an INSERT.. SELECT statement: INSERT INTO Table (col1, col2, col3) SELECT col1, col2, col3 FROM other_table WHERE sql = 'cool' Is i...

  2. SQL - Update multiple records in one query - Stack Overflow

    I have table - config. Schema: config_name | config_value And I would like to update multiple records in one query. I try like that: UPDATE config SET t1.config_value = 'value' , t2.config_va...

  3. SQL update statement in C# - Stack Overflow

    Mar 6, 2013 · 35 I dont want to use like this That is the syntax for Update statement in SQL, you have to use that syntax otherwise you will get the exception.

  4. sql - How to avoid "ON CONFLICT DO UPDATE command cannot …

    Nov 10, 2025 · pg_query_params (): Query failed: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time HINT: Ensure that no rows proposed for insertion within the same …

  5. How to update large table with millions of rows in SQL Server?

    Mar 10, 2016 · It has that been deprecated since SQL Server 2005 was released (11 years ago): Using SET ROWCOUNT will not affect DELETE, INSERT, and UPDATE statements in a future release of …

  6. Difference between Alter and Update SQL - Stack Overflow

    Mar 12, 2014 · 1 Alter command is a data definition language Update command is a data manipulation language Alter example- table structure, table name, sp, functions Update example-change database …

  7. sql - How to UPSERT (update or insert into a table?) - Stack Overflow

    The UPSERT operation either updates or inserts a row in a table, depending if the table already has a row that matches the data: if table t has a row exists that has key X: update t set mystuf...

  8. How can I do an UPDATE statement with JOIN in SQL Server?

    This was an example, but the point is as Eric said in How can I do an UPDATE statement with JOIN in SQL Server?. You need to add an UPDATE statement at first with the full address of all tables to join …

  9. Do we need to execute Commit statement after Update in SQL Server

    6 Sql server unlike oracle does not need commits unless you are using transactions. Immediatly after your update statement the table will be commited, don't use the commit command in this scenario.

  10. sql - Update statement with inner join on Oracle - Stack Overflow

    Mar 15, 2010 · I have a query which works fine in MySQL, but when I run it on Oracle I get the following error: SQL Error: ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command …