Skip to Main Content

Oracle Database Discussions

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!

Datatype for IP Address - Numeric?

582145Aug 13 2007 — edited Aug 13 2007
Hi,

I need to store IP_Address in a table and initally had it as a VARCHAR2 ('because of the dots), but because my Client_ID column is an INTEGER and I need to run NVL (Client_ID, IP_Address) I need to assign a different datatype to IP_Address.

I read something about 'unsigned integer'..How do I assign that? Just as an int? Does anyone have a 'best practice' tip for the IP address datatype?

thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 10 2007
Added on Aug 13 2007
5 comments
1,441 views