How do I check if a SQL Server text column is empty?
ISNULL(case textcolum1 WHEN '' THEN NULL ELSE textcolum1END ,textcolum2) textcolum1
Actually, you just have to use the LIKE operator.
SELECT * FROM mytable WHERE mytextfield LIKE ''
ISNULL(case textcolum1 WHEN '' THEN NULL ELSE textcolum1END ,textcolum2) textcolum1
Actually, you just have to use the LIKE operator.
SELECT * FROM mytable WHERE mytextfield LIKE ''