all groups > sql server reporting services > december 2006 >
You're in the

sql server reporting services

group:

VARCHAR trivia?


VARCHAR trivia? Elaine
12/22/2006 9:38:01 AM
sql server reporting services: In SQL Svr Mgmt Studio, the keyword "VARCHAR" does not turn blue as it does
in '00 Query Analyzer. Is there some change in the datatype?

RE: VARCHAR trivia? benjarras
12/22/2006 4:04:00 PM
It's the same behavior, maybe you just need to configure your enviroment. Go
to:

Tools -> Options -> Enviroment - Fonts and Colors.

On Display Items list, select Keyword and select Defaul in the Item
foreground drop down list (this is a blue color).

[quoted text, click to view]
Re: VARCHAR trivia? Kaisa M. Lindahl Lervik
12/25/2006 9:55:06 PM
It will turn out blue if you type it in as a nvarchar, not just varchar.
The difference is that nvarchar uses unicode, while varchar does not.

Better explanation at this article called
Why do some SQL strings have an 'N' prefix?
http://databases.aspfaq.com/general/why-do-some-sql-strings-have-an-n-prefix.html

Kaisa M Lindahl Lervik

[quoted text, click to view]

AddThis Social Bookmark Button