3 ms·
Sprocs give you finer grained access control though (a sproc for which a user has permissions can perform actions that the user can't do directly) as well as be
by sokoloff 11y ago
Sprocs give you finer grained access control though (a sproc for which a user has permissions can perform actions that the user can't do directly) as well as being very quick to patch in a prod emergency (useful in the case where you are using a compiled or otherwise slow to deploy language). I've made many a one-line sproc in my day; the overhead at dev time seems minimal by comparison, but that's just my opinion. I can see the other side as well.