Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to set 0 instead of Null in SQL

800340Jun 4 2006 — edited Jun 4 2006
hi guys,

is there a way to have the return result as 0 not [NULL] when the return result is empty?

replace this
name relation
---------------------------
Dan 45
Mike [NULL]
Kopper 54

with this:

name relation
---------------------------
Dan 45
Mike 0
Kopper 54
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2006
Added on Jun 4 2006
4 comments
479 views