Wednesday, July 26, 2006

For the LAST Time

There's no such thing as varchar(1).

1 comments:

Anonymous said...

DECLARE @a VARCHAR(1)
DECLARE @b CHAR(1)

set @a = ''
set @b = ''

SELECT '''' + @a + '''', '''' + @b + ''''

set @a = ' '
set @b = ' '

SELECT '''' + @a + '''', '''' + @b + ''''

About Me

My Photo
Sean McCown
I am a Contributing Editor for InfoWorld Magazine, and a frequent contributor to SQLServerCentral.com as well as SSWUG.org. I live with my wife and 3 kids, and have practiced and taught Kenpo for 22yrs now.
View my complete profile

Labels

Blogumulus by Roy Tanck and Amanda Fazani

Page Views