I have a numeric column Number(28,3) in which I have to insert value as 0.0 ,
whenever I encounter 0 or NULL/blank at the time of data insertion.
I have tried below :
NVL(col_name,0.0)
but it's just replacing null values with 0
nulloracleoracle-11g
I have a numeric column Number(28,3) in which I have to insert value as 0.0 ,
whenever I encounter 0 or NULL/blank at the time of data insertion.
I have tried below :
NVL(col_name,0.0)
but it's just replacing null values with 0
Best Answer
This is just a matter of displaying the data as required: