all groups > sql server dts > september 2006 >
You're in the

sql server dts

group:

Copying table Structure from one server to another



Copying table Structure from one server to another kiran
9/6/2006 2:51:48 AM
sql server dts: Hi all,
I have a small problem. I want to create a table Say
"tab1" from Server A into Server B. I dont want to copy the whole
table.I just want a "create table" String which is derived from tab1 of
server A. I want this to be simple.
Is there any soln.
Thanks,
Kiran G
Re: Copying table Structure from one server to another Arnie Rowland
9/6/2006 7:36:26 AM
The simplest method is to use Query Analyzer. In the object Explorer, keep
expanding until you get down to the table, and then [Right-Click] on the
table and select [Script Object to file as...], [ CREATE]. (or window, or
clipboard.)

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

Re: Copying table Structure from one server to another kiran
9/6/2006 9:35:56 PM

[quoted text, click to view]

Thanks,
But I need to do this in SSIS .
AddThis Social Bookmark Button