Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query to copy a table? 2

Status
Not open for further replies.

robojeff

Technical User
Dec 5, 2008
220
US
After making several updates to a table, I would like to make a copy of it and replace any copy that may already exist...

so, "My_tbl" would have a copy made of it called "My__tbl_1"

What is the best way to do this, by query or SQL statement?

Please give an example.

Thank you
 
SQL code:
SELECT * INTO My__tbl_1 FROM My_tbl

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top