본문 바로가기

DataBase

[오라클] TO_NUMER 를 [MSSQL] CONVERT 로

[오라클]
TO_NUMBER(COALESCE(L.LYEARELTRCT, 0)) AS LYEARELTRCT,

[MSSQL]
CONVERT(NUMERIC, COALESCE(L.LYEARELTRCT, 0)) AS LYEARELTRCT,