In my last post in this series, I talked about using meaningless table aliases. This time I'm going to talk about a pet peeve of mine: declaring varchar / nvarchar variables or parameters without specifying how many characters they should hold. Thankfully, I see this issue seldom in the code I've inherited in my own systems. But I do see it quite a bit on blog entries, forum posts and newsgroup questions. Because the length attribute is optional, people seem to make the assumption that defining a VAR...
|
1
kudos |
|
||||
No comments yet, be the first one to post comment.