Copy/Paste Culture

This post was originally published on this site

The Daily WTF

Mark F had just gone to production on the first project at his new job: create a billables reconciliation report that an end-user had requested a few years ago. It was clearly not a high priority, which was exactly why it was the perfect items to assign a new programmer.

“Unfortunately,” the end user reported, “it just doesn’t seem to be working. It’s running fine on test, but when I run it on the live site I’m getting a SELECT permission denied on the object fn_CalculateBusinessDays message. Any idea what that means?”

The problem was fairly obvious, and Mark knew exactly what the error meant. But the solution wasn’t so obvious. Why did the GRANT script work fine in test, but not in production? How can he check to see what the GRANTS are in production? Is there someone specific he should ask to get permission to look himself? Does

To read the full article click on the 'post' link at the top.