Declare @value nvarchar(40)--set @value='5'set @value=NULL--set @value='NULL' this will throw an error--set @value=' 'SELECT convert(int,isnull(@value,0))
Thanks & RegardsG.RenganathanNothing is mine ,Everything is yours!!!