About 452,000 results
Open links in new tab
  1. SQL Server - Create a copy of a database table and place it in the same ...

    Mar 15, 2013 · 34 Copy Schema (Generate DDL) through SSMS UI In SSMS expand your database in Object Explorer, go to Tables, right click on the table you're interested in and select Script Table As, …

  2. sql - Copy data into another table - Stack Overflow

    How to copy/append data from one table into another table with same schema in SQL Server? Edit: let's say there is a query select * into table1 from table2 where 1=1 which creates table1 wi...

  3. Duplicating a TABLE using Microsoft SQL Server Management

    Feb 23, 2020 · Need to duplicate a TABLE using Microsoft SQL Management Studio 2008 The TABLE needs to duplicate all table row (Primary Key) ID as well.

  4. Copy tables from one database to another in SQL Server

    Dec 8, 2013 · 550 SQL Server Management Studio's "Import Data" task (right-click on the DB name, then tasks) will do most of this for you. Run it from the database you want to copy the data into. If the …

  5. sql - Fastest way to copy a table in mysql? - Stack Overflow

    CREATE TABLE copy SELECT * FROM original; ALTER TABLE copy ADD PRIMARY KEY (id); or is there another way? EDIT: I'm worried about the indexes being re-created, how does mysql proceed …

  6. t sql - Copying a table (and all of its data) from one server to ...

    Nov 24, 2023 · Server Name: destination server. Specify table copy or query: Copy data from one or more tables or views. Note that this will copy table as a Heap (columns and data are there, but no …

  7. sql - Copy table from one database to another - Stack Overflow

    8 Another method that can be used to copy tables from the source database to the destination one is the SQL Server Export and Import wizard, which is available in SQL Server Management Studio. You …

  8. Completely copying a postgres table with SQL - Stack Overflow

    Jul 7, 2011 · create table my_table_copy as select * from my_table This will create the table with all the data, but without indexes and triggers etc. Adding with no data will copy the schema without the data.

  9. How to copy a huge table data into another table in SQL Server

    19 If you are copying into a new table, the quickest way is probably what you have in your question, unless your rows are very large. If your rows are very large, you may want to use the bulk insert …

  10. sql - Copy table structure into new table - Stack Overflow

    Aug 3, 2009 · Is there a way to copy the structure of a table into a new table, without data, including all keys and constraints?