Home Forums SQL Server 2005 Business Intelligence select query modification RE: select query modification
Florian Reischl
SSC-Dedicated
Points: 37301
More actions
April 13, 2009 at 7:11 am
#976552
Hi
I'm not sure if your "mysql" was a typo... If you mean mssql try this:
DECLARE @t TABLE (txt VARCHAR(30))
INSERT INTO @t
SELECT 'abc'
UNION ALL SELECT NULL
SELECT ISNULL(txt, ' ')
FROM @t
Greets
Flo