Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Functions
Hello all. I am seeking opinions of experienced database folks on this
issue:
I am implementing a replication environment between IBM DB2 and UNIX Oracle
using DataMirror's Transformation Server (TS) product. TS replicates and
transforms data between disparate databases. (Right now I am using
Oracle's
snapshot with Transparent Gateway to do this, but must do a total refresh
each
night. Using TS gives me net change.) One requirement for a simple
transformation
of data is to convert the columns LATITUDE NUMBER(8,2) into LATDEG NUMBER,
LATMIN NUMBER and LATSEC NUMBER. At the onset of this product I planned to
us TS to perform the translation. I have this working just fine.
Our DB2 and Oracle groups are 'culturally' different in their thinking.
The DB2 DBA
is pushing to create a DB2 user-defined function that accepts the LATITUDE
value
and returns the three LATDEG LATMIN and LATSEC values, rather than use TS.
At
this point it is unclear to me on the reasoning for this. However, my
reasons for wanting
to do this function within my tool are:
I'd like to say performance is a reason, but I'm not sure this is a valid
reason. Seems that
using a DB2 function or TS derived expression in terms of performance will
be comparable.
Do you have any insights or thoughts to share that may help me in this
decision?
My appreciation in advance.
Phone: (352) 796-7211, Ext. 4033
Fax: (352) 754-6776
Email: Mailto:Sherrie.Kubis_at_swfwmd.state.fl.us
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Sherrie.Kubis_at_swfwmd.state.fl.us
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri May 31 2002 - 11:18:34 CDT