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. How can I do an UPDATE statement with JOIN in SQL Server?

    I think this is because the query first has to join the tables and then runs the where clause on that, so if you can reduce what is required to join then that's the fasted way to get the results/do the update.

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

    database complies a query pattern you provide the first time, keep the compiled result for current connection (depends on implementation). then you updates all the rows, by sending shortened label …

  4. SQL update query syntax with inner join - Stack Overflow

    I'm using SQL Server 2000 and I want to update all entries in the CostEntry table to the corresponding value in the ActiveCostDetails table. The where clause DOES work with a select statement.

  5. 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.

  6. sql server - Update multiple columns in SQL - Stack Overflow

    Jan 31, 2012 · If you're doing it programmatically, use parameterized queries and you only ever have to write it once. If you're doing it manually, use SQL Management Studio's editor and enter the data …

  7. sql - Access update query syntax error (missing operator ... - Stack ...

    Apr 1, 2018 · 0 This appears to be a fairly common problem in Access, but after researching multiple threads and trying all types of variations, I still can't find a solution for my problem. Here is a simple …

  8. 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 …

  9. How do I update my tables in Big Query SQL? - Stack Overflow

    Feb 16, 2024 · Syntax for updating tables in BigQuery is pretty standard: The first part is letting BigQuery know which table you want to update:

  10. How can I update top 100 records in SQL server?

    Jul 29, 2009 · 537 I want to update the top 100 records in SQL Server. I have a table T1 with fields F1 and F2. T1 has 200 records. I want to update the F1 field in the top 100 records. How can I update …