| Next Tip?
Home » MsSql Server

How to create a new table with datafrom another table

21 August 2009 811 views No Comment
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

Simply, you can use ‘Insert Into

ex:

Create Table newTable (id VarChar(10))

Insert Into newTable Select id from oldTable

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.