Skip to Main Content

SQL Developer

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!

Join between integers and characters

996984Mar 26 2013 — edited Mar 26 2013
I have 2 tables, one header and one line, both are joined based on a field X. In header table, it was stored as integer and line table it is stored as varchar.

Header

X
12345

Line

X
'012345'

When I join, I was expecting that the data should not match as one is varchar n the other is integer. Y does oracle implicitly convert the varchar to number and still pass the join?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2013
Added on Mar 26 2013
3 comments
418 views