Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Conjurer
Starting Member
30 Posts |
Posted - 2006-04-03 : 17:57:02
|
I need to make a backup of a table so that if I mess it up I can put the data back to where I started... I am going to insert some new rows and update values in some existing rows. So before I do this and find out I messed it up...how do I make a copy of Table A as Table B?I would actually like to make a copy to table B, then run my changes into B, make sure all is correct, and then transfer the revised data from B over to table A replacing its data. What approach would be best here to accomplish this?Thanks |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-04-03 : 17:59:29
|
| SELECT *INTO TableBFROM TableATara Kizeraka tduggan |
 |
|
|
Conjurer
Starting Member
30 Posts |
Posted - 2006-04-03 : 18:16:22
|
| THANK YOU SO MUCH!You really are a SQL Goddess in my mind, always so helpful. |
 |
|
|
|
|
|