THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » Best Practices » habits » variables   (RSS)
  • Bad habits to kick : declaring VARCHAR without (length)

    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 ...
    Posted to Aaron Bertrand (Weblog) by AaronBertrand on October 9, 2009
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement