PDA

View Full Version : Copy Table Via OCI


Dale Edgar
09-08-2003, 02:02 AM
Hi All

In order to get around the inability to access tables containing
columns of user defined types via a database link (you get an
ORA-22804). I would like to develop a generic table copy function in
OCI specifically to handle tables which contain columns of user
defined types.

The copy function cannot know the structure of the table in advance -
it must be able to figure it out dynamically. It does not have to
process the data in any way all it has to do is read the data from one
DB and insert it into another. The table structures pre-prepared and
will be the same on both DB's

I have a beta version working on tables with simple user defined types
(VARRAYS, NESTED TABLES etc) but the program breaks if the types
themselves are built from user defined types (as is commonly done).

I have done extensive digging on metalink and the web. However, I am
now starting to run out of options to try and would appreciate any
advice, hints and pointers to source code that you may be able to
give.

Kind regards
Dale


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service