About 821,000 results
Open links in new tab
  1. 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 …

  2. sql - When to use "ON UPDATE CASCADE" - Stack Overflow

    Sep 26, 2009 · ON UPDATE SET NULL: SQL Server sets the rows in the child table to NULL when the corresponding row in the parent table is updated. Note that the foreign key columns …

  3. Update database table from one SQL Server database table to …

    You need to add a Linked Server under Server Objects You can name that Linked Server either with "CHOOSEN-NAME" or [ipaddress , port number] how to add a linked server using tsql , …

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

  5. sql - update one table with data from another - Stack Overflow

    In SQL Server I usually use the same structured update as the one you've shown. But in this particular case the FROM part could be a bit simpler: just FROM table2 WHERE table1.id = …

  6. How to permit a SQL Server user to insert/update/delete data, but …

    Jun 18, 2012 · Just 'select' isn't going to work, because it needs to insert/update/delete data in tables. How do I check permissions and access for a particular login? How do I grant or deny …

  7. How do I change the owner of a SQL Server database?

    Apr 28, 2016 · To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the …

  8. How to test an SQL Update statement before running it?

    Jun 13, 2012 · However a borked update can be worse than the initial problem. Short of using a test database, what are options to tell what an update statement will do before running it?

  9. How to update Sql table from excel directly? [duplicate]

    Closed 2 years ago. I have an sql database and I am able to connect with excel spreadsheet. But when I update the table from excel directly it's not updating the database and once I click …

  10. Solutions for INSERT OR UPDATE on SQL Server - Stack Overflow

    Sep 20, 2008 · Similar questions: * Insert Update stored proc on SQL Server * SQL Server 2005 implementation of MySQL REPLACE INTO?