Thought you might like a graphical way as well. If you have access to Enterprise Manager, you can also do it this way. Open EM and right click on the server that holds the database.
Click on All Tasks, then Import Data. This will bring up the DTS Import/Export wizard. Click Next once.
Choose your Data Source server, then database and click next. Choose the destination server, and the database (should be the same as previous if you are copying to same location). Click Next. Select Copy table(s) and view(s) from the source database and click Next.
In the Table(s) and View(s) list, scroll down until you see the table you want to copy and check it. Once you check it, you will see the destination box right next to it fill. In order to not overwrite the current database, you [u]must</u> change the name of the table in the destination field (I will usually just append a number to the name).
Click Next. Make sure that Run Immediately is checked. Click Next. On the next screen, once you click Finish, the table should copy. It will be an exact copy of the other table with some exceptions. For example, your primary keys will have to be redefined as will your Identitys.
Once you are done, you can select any rows that you don't want and delete them.
Hope this helps.
Josh
|