About 89,400 results
Open links in new tab
  1. t sql - Copying a table (and all of its data) from one server to ...

    Nov 24, 2023 · Restoring a backup from one server on to another. This is impractical, because SQL Server notoriously cannot restore tables from a backup; It can only restore databases. And my …

  2. sql server - The simplest way to copy sql tables from one database to ...

    May 9, 2019 · I want to copy one table from the first database to the other one with its content. I want to overwrite the content of the destination one (Because I have the same table name but it has just few …

  3. sql server - Copy complete structure of a table - Database ...

    May 17, 2012 · Using some methods, when you create a copy of a table you lose indexes, PK, FK, etc. For example in SQL Server I can say: select * into dbo.table2 from dbo.table1; This is just a simple …

  4. Copy tables to another SQL Server keeping the identity property

    May 6, 2021 · Create the table on the destination database and simply copy/paste the data into it (this did not work at all - no data was inserted) Notes I would rather not rely on third-party tools. I am …

  5. sql server - How do I copy a table with SELECT INTO but ignore the ...

    Jan 27, 2011 · The columns in new_table are created in the order specified by the select list. Each column in new_table has the same name, data type, nullability, and value as the corresponding …

  6. Copy table from one server to another including keys and indexes

    Jul 15, 2019 · The SQL Server Express databases are all set up, and I have successfully tested copying the tables required using several different methods including: SSMS Import/Export Wizard as well as …

  7. sql server - How to copy migrate data to new tables with identity ...

    Use MERGE to insert the data into the copy tables so that you can OUTPUT the old and new IDENTITY values into a control table and use them for related tables mapping.

  8. sql server - Transferring large amount (84 million rows) of data ...

    Sep 26, 2014 · Dropping partitions out of a table is a really fast and resource-efficient way of removing large chunks of data from a table. Were this table partitioned in a manner that supports your source / …

  9. sql server 2012 - Moving rows from one table to another - Database ...

    I am moving records from one database to another, as a part of archiving process. I want to copy the rows to destination table and then delete the same rows from the source table. My question is, ...

  10. What is the most efficient method to copy a linked server table into a ...

    Jan 22, 2022 · I need to copy a table located on a linked server in my database. The Source Table has around 55 million records. I have tried the "Select INTO" method (T-SQL codes) but the …