sql - How to catch null vales and display comment -


i have bascic query:

select col1, nvl(col1,to_number(null)) table1 colx = :new 

update

baiscly, during upload i'm checking if :new inside table1.colx. if yes, want display col1, if not null value (i can't put zero).

nvl(col1,to_number(null)) return blank. can change this: nvl(col1,0).


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

Get Max value from table in hibernate -

php - Alamofire request parameters empty -