Article View: borland.public.vdbase.data.sql
Article #35Re: Query troubles
From: Romain Strieff [TeamB]
Date: Fri, 19 Feb 1999 00:00
Date: Fri, 19 Feb 1999 00:00
34 lines
2188 bytes
2188 bytes
In article <36d7bdd3.11272288@forums.inprise.com>, Steve Koterski politely paraphrased ... > > The existence of a primary key might uniquely identify a row in a base > table, but does not itself make an association between a rows in a result > set and that row in the base table. When columns from multiple base tables > are combined to produce a single result set (i.e., a join), the result set > is essentially the same as a table, only it is virtual. The columns in the > result set belong to the result set, not to a base table. Thus the result > set itself cannot be editable. --- Even not with Interbase or Oracle? > In Delphi, with cached updates such a result is made to appear editable. > But it is not really. It is just smoke and mirrors. The data-aware controls > make it look like the result set is being edited but the changes are really > going into a separate, cached dataset. Once all data modifications (new > rows added, existing rows edited, and rows deleted) have been made, these > cached changes are applied. That is, each cached change record is evaluated > and an SQL statement executed to take the change for any one cached record > and update the appropriate base table (UPDATE, INSERT, or DELETE). The > trick is that the SQL statement must correctly identify the right base > table, something done manually in composing the individual update SQL > statements. --- I understood the SQL servers did it the same way. -- Romain Strieff [TeamB] Please read this newsgroup guide below before posting on the private Inprise newsgroups. http://www.inprise.com/newsgroups/guide.html --
Technical Details
Message-ID:
<MPG.1137e6628d989131989e5d@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7a9jpu$5604@forums.borland.com> <36cc3350.1357578@forums.inprise.com> <MPG.11361741985f6160989e0c@forums.inprise.com> <36d7bdd3.11272288@forums.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,1d377234ba5edb8a X-Google-Attributes: gidff5a1,public From: teamb@opto-pps.com (Romain Strieff [TeamB]) Subject: Re: Query troubles Date: 1999/02/19 Message-ID: <MPG.1137e6628d989131989e5d@forums.inprise.com> X-Deja-AN: 446180274 References: <7a9jpu$5604@forums.borland.com> <36cc3350.1357578@forums.inprise.com> <MPG.11361741985f6160989e0c@forums.inprise.com> <36d7bdd3.11272288@forums.inprise.com> Organization: TeamB Newsgroups: borland.public.vdbase.data.sql