BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Eclipse for Spring
  2. MVVM Pattern
  3. Eclipse RCP
  4. Silverlight/WP7
  5. Eclipse Plug-ins
  1. BIRT 3.7
  2. Ajax
  3. Eclipse
  4. jQuery Selectors
  5. Spring Config.

Link Details

Link 741825 thumbnail
User 764403 avatar

By guffshemr
via sqlservercurry.com
Published: Feb 08 2012 / 12:58

I have seen some new SQL Server developers declaring Varchar and Nvarchar data types without specifying a length, since it is optional. Although this works in some other programming languages like C#, SQL Server behaves differently and this is a bad practice overall. Let us see with an example of what’s wrong with not declaring a length for the Char or Varchar data type.
  • 5
  • 0
  • 294
  • 358

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)