I have created a stored procedure that contain this field (below) in
order to meet certain criteria. But my problem is when I try to run
the stored procedure I encounter an error "Error converting data type
varchar to float".
CASE Final WHEN 0 THEN '--' ELSE Final END AS FinalGrade
The Final field is a float data type.
Could anyone teach me how to fix this problem?
order to meet certain criteria. But my problem is when I try to run
the stored procedure I encounter an error "Error converting data type
varchar to float".
CASE Final WHEN 0 THEN '--' ELSE Final END AS FinalGrade
The Final field is a float data type.
Could anyone teach me how to fix this problem?
Comment