Home Forums SQL Server 2008 T-SQL (SS2K8) Function to replace string 'NULL' with null value RE: Function to replace string 'NULL' with null value

  • Thank you

    I actually thought of something else, that I could use NULLIF function then got

    CAST(NULLIF([Gross Amount],'NULL') AS DECIMAL(18,2)) [Gross Amount]