Create Stored Procedure Wizard

In SQL Server 2000 Enterprise Manager I used to use the "Create Stored
Procedure Wizard" all the time to create INSERT and UPDATE stored
procedures.  While it was not perfect it was a very quick way of creating
simple stored procedures and only a few minor changes were required with
simple inserts and updates.
I am fairly new to the SQL Server 2008 edition, but I cannot seem to find a
quick way of creating an INSERT or UPDATE stored procedure.  If I say have
10 or 20 input parameters it seems to take an age to manually find out their
Data Type, Size etc and type in manually, let alone the actual statement
itself.

Is there any easy way to create simple INSERT and UPDATE stored procedures
in SQL Server 2008 Management Studio?

YampolkaValeriya YampolskaAsked:
Who is Participating?
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.

gothamiteCommented:
to create a template stored procedure press Ctrl+ALT+T which opens the Template Explorer. In here you will find templates for creating SPs.

To get the code to INSERT or UPDATE a given table, expand the database, then tables in the Object Explorer (on the left pane by default). Right-click on the table you want to make an SP for and do Script AS...INSERT...to Clipboard

you can then paste this code into your SP and edit as required.
0

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
YampolkaValeriya YampolskaAuthor Commented:
Thank you , but you know in SQL 2000 it was more comfortable.  It generated all list of parameters for me.
0
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
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.