![]() | |
#41
| |||
| |||
|
|
"David" <someone (AT) someisp (DOT) com> wrote in message news p.t4y5ugvcrasovn (AT) pavilion (DOT) ..I want to make a copy of a table in SQL Server 2005, a back-up of my table if you will. I don't see any way of doing this, I am I right in assuming that one can't copy a table in an SQL Sever 2005 database? Just use select * into newtable from oldtable |
#42
| |||
| |||
|
|
"David" <someone (AT) someisp (DOT) com> wrote in message news p.t4y5ugvcrasovn (AT) pavilion (DOT) ..I want to make a copy of a table in SQL Server 2005, a back-up of my table if you will. I don't see any way of doing this, I am I right in assuming that one can't copy a table in an SQL Sever 2005 database? Just use select * into newtable from oldtable |
#43
| |||
| |||
|
|
"David" <someone (AT) someisp (DOT) com> wrote in message news p.t4y5ugvcrasovn (AT) pavilion (DOT) ..I want to make a copy of a table in SQL Server 2005, a back-up of my table if you will. I don't see any way of doing this, I am I right in assuming that one can't copy a table in an SQL Sever 2005 database? Just use select * into newtable from oldtable |
#44
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#45
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#46
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#47
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#48
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#49
| |||
| |||
|
|
Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. |
#50
| |||
| |||
|
|
"Kalen Delaney" <replies (AT) public_newsgroups (DOT) com> wrote in message news:u1DrLC5VIHA.1208 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hi David and Leon This simple SELECT INTO will copy the table structure and all the data to a new table. It will not copy indexes, constraints, or triggers. Correct. These schema objects would have to be copied manually, but if you just want a quick backup copy of a table to play around with the data then select into works well enough. |
![]() |
| Thread Tools | |
| Display Modes | |
| |