Were you the one asking this on the Microsoft newsgroups? 
DECLARE @table1 TABLE ([ID] INT, [Name] VARCHAR(55), PostCode CHAR(5))INSERT @table1([ID], [Name], PostCode) SELECT 1,'James', 12345 UNION ALL SELECT 2,'Mandy', 99100 UNION ALL SELECT 3,'John', NULL UNION ALL SELECT 4,'Alex', NULLSELECT [ID], [Name], ISNULL(PostCode,'00000')FROM @table1SELECT [ID], [Name], COALESCE(PostCode,'00000')FROM @table1
MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA.