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!

Stored Procedure help

Status
Not open for further replies.

Clundey

Technical User
Jul 20, 2001
42
US
I am trying to create two tables via a stored procedure, RECEIVED and DISTRIBUTED. Then use those tables as part of a crystal report that compares those tables with an existing table. The stored procedure will be crystal data source.

Problem is the stored procedure needs to delete existing RECV & DIST, create new ones, assign select permissions.
I need all users 2b able to run this. I have a sp that will make the tables, but am tripping on permissions etc. I only want to give create/delete on these tables.

Thanks in advance for any help!
 
Bad design! You do NOT want users to delete and create tables! Use temp tables in your stored procedure instead. That way if two users try to do something simliar at the same time they won't be wiping out the data someone else put in before they had a chance to process it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top