About 461,000 results
Open links in new tab
  1. SQL Update from One Table to Another Based on a ID Match

    Oct 22, 2008 · Just a note on this solution, UPDATE...FROM is proprietary therefore, if you cannot use the MERGE statement because you are using SQL 2005 or earlier, this is an ANSI-compliant method …

  2. sql server - How to roll back UPDATE statement? - Stack Overflow

    Feb 3, 2014 · 4 Yes, besides doing a full restore, there is a viable solution provided by 3rd party tool, which reads information from a database transaction log, parse it, and then creates an undo T-SQL …

  3. sql - Update records in table from CTE - Stack Overflow

    So if you have concerns about an update not being atomic then the CTE should not be a relevant factor, e.g. You're concern could similarly be "If an update has nested subqueries or uses data from other …

  4. Multiple SQL Update Statements in single query - Stack Overflow

    I think the best way is to import the Excel sheet into a table in your SQL database. From there you could be able to use a join to create a single update statement for all 12,000 items.

  5. sql - Update multiple values in a single statement - Stack Overflow

    I have a master / detail table and want to update some summary values in the master table against the detail table. I know I can update them like this: update MasterTbl set TotalX = (select sum(X...

  6. How to undo a SQL Server UPDATE query? - Stack Overflow

    Jan 14, 2011 · In SQL Server Management Studio, I did the query below. Unfortunately, I forgot to uncomment the WHERE clause. 1647 rows were updated instead of 4. How can I undo the last …

  7. sql - UPDATE and REPLACE part of a string - Stack Overflow

    Jun 28, 2013 · I've got a table with two columns, ID and Value. I want to change a part of some strings in the second column. Example of Table: ID Value ...

  8. sql - UPDATE Query without WHERE Clause - Stack Overflow

    Aug 28, 2012 · 1 The UPDATE statement in SQL is used to update records in the table. We can modify one or multiple records (rows) in a table using UPDATE statement. If you do not use WHERE clause …

  9. sql - Update multiple rows using select statement - Stack Overflow

    Jun 28, 2012 · Update multiple rows using select statement Asked 13 years, 5 months ago Modified 7 years, 7 months ago Viewed 121k times

  10. sql - Use SELECT inside an UPDATE query - Stack Overflow

    Mar 17, 2014 · Usually you can turn a SELECT query into an UPDATE query with the click of a button in the Access query designer - there is a "query type" button in the command bar, when you are not in …