Path: news.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: vslabs@onwe.co.za (Billy Verreynne)
Newsgroups: comp.databases.oracle.misc
Subject: Re: insufficient key column information
Date: 2 Mar 2003 22:03:27 -0800
Organization: http://groups.google.com/
Lines: 56
Message-ID: <1a75df45.0303022203.f408836@posting.google.com>
References: <1f1d904a.0302271141.31a8f896@posting.google.com> <b3ncfd$kmm$1@ctb-nnrp2.saix.net> <1f1d904a.0302281045.27bd878a@posting.google.com>
NNTP-Posting-Host: 198.54.202.208
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1046671407 14307 127.0.0.1 (3 Mar 2003 06:03:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 3 Mar 2003 06:03:27 GMT
Xref: newsfeed1.easynews.com comp.databases.oracle.misc:94263
X-Received-Date: Sun, 02 Mar 2003 23:03:19 MST (news.easynews.com)

bangorme@hotmail.com (Scott) wrote 

> I'm not sure that that's the type of problem I'm having.  In theory, I
> should be able to plug any supported db into an application using ADO,
> and it should work. 

Correct. But in practise things unfortunately works a bit differently.

I used to be a big supported of developing database vendor independant
clients. Not any more. The cost of developing the front-end client
fades into insignificance when compared to the investment a company
makes in its server platforms and database software.

You want a client that exploits that and provides a return on that
investment made. Besides, a company is not likely to run Sybase today,
Oracle tomorrow and Informix next week. If anything, the database
environment is one of the few things that do remain consistant for
longish periods in most companies.

Add to that databases can be *very* different from one another. Oracle
is unlike SQL-Server in many cases. What works in SQL-Server, will
cause major problems in Oracle, and vice versa.

> never expected the problems I've had.  For example, duplicates are
> easily handled by Access and SQL Server 7 because the recordset brings
> table relationships into the recordset.  

ADO is designed for MS-Access and SQL-Server primarily. If anything,
you're always ensured of smooth integration when dealing with
Microsoft only software.

> > Back in '94 I did my own port of a VB app I did, from MS Access, to 
> > SQL-Server 4. Performance sucked (and a single app instance loaded, 
> > generated 50% of the total LAN traffic). 
> > 
> 
> Did you ever discover where the loss in performance came from?  

Data controls. I stay away from data controls as far as possible. You
can not trust a data control to generate the correct SQL for all
situations. Instead, I rather write my own classes and provide data
bounding with them. Delphi though makes it a lot easier as you have a
TUpdateSQL class which you can use to override the update, insert and
delete SQLs that a data bound control will generate.

> I'm about to start from scratch (I would have it done by now)  

If anything Scott, it will be a good learning experience IMO. The
important thing is to know how Oracle works. Transaction-wise,
multi-versioning wise and so on. I strongly recommend Tom Kyte's book
called 'Oracle: Expert one-on-one'. It is written for the developer in
clear and concise languge showing you the strenghts of Oracle and what
pitfalls to avoid.

--
Billy
