Ever wanted to replicate a table and its contents in MS SQL?
heres how:
SELECT * INTO NewTable FROM OldTable
Want to copy just the structure and not the content?
SELECT TOP 0 * INTO NewTable from OldTable
We are what we repeatedly do. Excellence, therefore, is not an act but a habit.
Aristotle
@sundhas, can you please show us what sort of query you ran?
It doesnt work at my end
It says : Sysntax error : INTO clause is not allowed
what to do?