Stored Procedure in SQL Server 2000 ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How do I get the all possible stored procedures for a given table in SQL
Server 2000 for example like
To Insert,
To Insert with Parameters,
To Update,
To Delete,
To Do Transaction ie for example to Transfer Some Amount from One Account to
Another Account. I should be able to pass the Account A, Account B and the
Amount to be Transfer.

Thanks & Regards,
SS
 
You can find all sprocs that depend on a specific table (provided you do not
have circular dependencies). At worst case, it is in the sysdepends table.
What they do is a bit more problematic, as you have to actually examine the
code in the syscomments table and determine what type of CRUD is done. What
determines this is very company specific, so you will have to create the
business rules.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top