Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: round the value to the nearest

    That should do it

    ;

    WITH

    CTE AS

    (

    SELECT CAST(ROUND(VAL,0,0) AS VARCHAR(10)) AS VAL

    FROM 'YOURTABLE'

    )

    SELECT SUBSTRING(VAL,1,2) + '%' AS NDM$

    FROM CTE

Viewing post 1 (of 1 total)