SSMS has two handy tricks that help with this.
First you can right-click a table and script it as SELECT:
Second you can drag the Columns "folder" underneath the table over to the query window to paste a column-delimited list of columns:
Then once you have all the columns, delete the ones you don't want.
David
David http://blogs.msdn.com/b/dbrowne/
No comments:
Post a Comment