Sunday, 27 September 2009
How do you copy a database table in SQL using code?
Open Query analyser
Select the required database (Use [databasename])
Type :
SELECT * INTO MyNewTable FROM MyTable
e.g
SELECT * INTO Customer2 FROM Customer
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment