Insufficient Privileges such that...
- Can't run debugger on stored procs in DB
- Can't create new stored procs in DB
- Can't modify stored procs in DB
- Can't delete stored procs in DB
You CAN:
Execute scripts and Modify Rows
Strategy:
- Copy entire Stored Proc
- Paste it into a new query window
- Change the proc's parameters to Variables (DECLARE @FOO AS VARCHAR(25) = 'Bar';)
- Remove all stored proc syntax from top and bottom of script
- Get it to run in SSMS Query Window
- Add Debugging code in the best form fitting the current circumstances
- If so desired, copy SQL into C# code and ADO.Net it from there (or whatever)
Just think outside the box.
No comments:
Post a Comment