SQL SErver 2000: Enterprise Manager how to make copy of existing table or view?

In Enterprise Manager, is there an easy way to copy an existing table or view?
LVL 9
sah18Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

curtis591Commented:
You right click and go to All Tasks and you can use the import wizard.

or

You can right click on an object -> All Tasks -> Generate SQL script will give you the SQL to create a blank version of the object.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mcmonapCommented:
>> You can right click on an object -> All Tasks -> Generate SQL script will give you the SQL to create a blank version of the object.

FYI you can also get this by right clicking and selecting copy on the table in enterprise manager - the code will be on the clipboard to paste where ever you want (QA)
sah18Author Commented:
Thanks very much!  Also (dumb question), but is there any mechanism for running sql script from right within enterprise manager, or is sql query analyzer the only option?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

sah18Author Commented:
ps:  i had wondered what the "copy" option did, since there was no paste option!
mcmonapCommented:
Hi sah18,

You can run some sql _statements_ in enterprise manager but not scripts or batches, I would stick with QA - enterprise manager is not really the place to be running script.
sah18Author Commented:
thanks to both of you for your help!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.