Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NULL value in results
Message
 
To
13/06/2008 11:38:34
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01323872
Message ID:
01323880
Views:
14
>Select:
>
>
>	QUOTENAME (InsCompanyID2,'"') AS InsCompanyID2,
>
>
>The result for this column is NULL, I need it to be "".

It works for me:
DECLARE @test varchar(20)
SET @test = NULL

SELECT QUOTENAME(ISNULL(@test,''),'"') AS InsCompanyID2
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform