Select ...
CASE
WHEN TRT.trlr_type_id LIKE ('%HTD%') THEN TRT.current_num_vehicles = '0';
WHEN TRT.trlr_type_id LIKE ('%HEAT%') THEN TRT.current_num_vehicles ='0';
ELSE TRT.current_num_vehicles
END AS NUM_VAL,
ASKER
Oracle is an object-relational database management system. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java, but it also includes support for C and C++. Oracle also has its own enterprise modules and application server software.
TRUSTED BY
ASKER
I can only populate the result in the column NUM_VAL.
I have a column in my query called TRT.current_num_vehicles and i wanted to update that column value with a ZERO and not the column NUM_VAL.