Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need : syntax for stored procedure inside of stored procedure.

Status
Not open for further replies.

bjgrem

Programmer
Jul 18, 2000
10
US
I need to make a few stored procedures that will allow access to a few sql stored procedures (such as sp_password and sp_addlogin) without granting premissions. If anyone could help i would greatly appreciate it.

bjgrem
 
Looks like this is a SqlServer question (from the names of the stored procedures.

In Oracle you can do something like this in two ways (might give you an idea):

1) Create a stored procedure as a user which has the permissions to do what you need and call these sp's from inside your stored proc.

2) Create a 'package' which is a way of bundling data and procedures together.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top