SyntaxFix
Write A Post
Hire A Developer
Questions
How about this?
CASE WHEN ProductAlternateKey is NOT NULL THEN CONVERT(NVARCHAR(25), LTRIM(RTRIM(ProductAlternateKey))) FROM DimProducts where ProductAlternateKey like '46783815%'