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

  2. SQL Server - Create a copy of a database table and place it in the …

    Mar 15, 2013 · I have a table ABC in a database DB. I want to create copies of ABC with names ABC_1, ABC_2, ABC_3 in the same DB. How can I do that using either Management Studio (preferably) or SQL queries ? This is for SQL Server 2008 R2.

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

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

    I want to copy a table in MySQL. What is the fastest way? Like this? CREATE TABLE copy LIKE original; INSERT INTO copy SELECT * FROM original; or CREATE TABLE copy SELECT * FROM original; ALTER...

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

    Dec 8, 2013 · 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 tables don't exist it will create them for you, but you'll probably have to …

  6. 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?

  7. mysql - SQL Command for copying table - Stack Overflow

    Nov 29, 2008 · What is the SQL command to copy a table from one database to another database? I am using MySQL and I have two databases x and y. Suppose I have a table in x called a and I need to copy that table to y database. Sorry if the question is too novice. Thanks.

  8. sql server - Fastest way to copy sql table - Stack Overflow

    Im looking for the fastest way to copy a table and its contents on my sql server just simple copy of the table with the source and destination on the same server/database. Currently with a stored

  9. How to duplicate table with constraint and key information in SQL ...

    Feb 11, 2018 · I am trying to duplicate a table in SQL Server: select * into student_info from student_constraint where 1 = 2; But it only duplicates the schema. How can I duplicate the table with constraint...

  10. Create a copy of a table within the same database DB2

    Jul 10, 2012 · Is there an easy way to copy a table to the same database of course with different name. I tried some of these listed below, db2 "CREATE TABLE SCHEMA.NEW_TB COPY AS SELECT * FROM SCHEMA.OLD_TB WH...