Thursday, July 18, 2019
Installed AutoHotKey Today
I feel like this could be a really powerful tool but have not taken the time to explore
https://www.autohotkey.com/
Wednesday, July 17, 2019
Strategy for Debugging Stored Procs When you have very few Permissions
Preconditions:
Insufficient Privileges such that...
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.
Subscribe to:
Comments (Atom)
C# Sucks!
JK!! Seriously, though, somewhere around C#-3 we should have inculcated ourselves with the question: "Does 'CAN' == 'SHOULD...
-
Running this code will NOT cause a runtime error if 'b' is not of type 'myclass'. 'a' will simply be assigned null ...
-
You may wish to expose a 'private' web service such that in order for a new client to access it, the client must be furnished with a...