number or string sql server code example
Example 1: select CONVERT(NUMber(10,2),dailybroadbandusagedsmbyte)
select CONVERT(NUMber(10,2),dailybroadbandusagedsmbyte)
Example 2: sql cast to integer
-- NOTE: this is for SQL-Oracle specifically
/*
<...> : Your personal entry
*/
-- syntax:
CAST(<variable> as <variable-type>) -- in this case: <variable-type> = INTEGER
-- example:
SELECT CAST(MEMBER_NO as INTEGER)
FROM DUAL;