I have this proc
[...]
BEGIN
SELECT ODMI.VLR_LABOR AS Labor,
O.ID_ODM AS IdODM,
FROM ODM O
JOIN ODM_AREA_IMPACTO ODMI ON ODMI.ID_ODM = O.ID_ODM
JOIN AREA A ON A.ID_AREA = ODMI.ID_AREA
WHERE O.ID_ODM = xx
END
Labor
is a decimal in c# code.
How to convert ODMI.VLR_LABOR
to deicmal at the time of execution of the procedure.
I try CONVERT(DECIMAL(16,4), height/10.0) AS HeightDecimal
but not success.