Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Create Store Procedure with in Store Procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-20 : 07:29:17
SubhanGhauri writes "Hello Fellows

I want to create store procedures with in a Store Procedure. i want to do a job i.e.

i pass a table Name to store Procedure that store procedure create three procedure for insert, update and delete

plz help me for doing this


thanks

subhan"

nr
SQLTeam MVY

12543 Posts

Posted - 2004-01-20 : 08:31:29
Umm - I see a very badly performing system in development here.

Look at dynamic sql - given that you know how to write a stored proc it's easy to create a string that will create what you think you want.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -