Reproducing postgres "inet" datatypes and operators?
656117Aug 21 2008 — edited Feb 11 2011Hi,
I need to migrate an application from postgres to oracle 10, and I am looking for a way to reproduce the functionality of the "inet" datatypes in oracle. Inet data types store i.p. addresses and netmasks and allow to do operations on them like testing wheter an address is contained in a given netword/netmask.
How would I do that in Oracle? As far as I can tell there isn't a similar datatype for oracle, so I guess I will need to create procedures/functions on the db to do the bit manipulation. Does oracle have bitwise AND/OR operators?
Thanks in advance,
A.