Op dinsdag 16-10-2007 om 18:24 uur [tijdzone +0200], schreef Marc
Santhoff:
> > The difference between the Delphi3 TTable and a query is more then
> the
> > select. The TTable creates the SQL-statement, which has the
> advantage
> > that it exactly knows what it's doing, so that the TTable is also
> > updateable.
>
> Okay, I read this as "TTable is sort of an ancient artifact" and one
> should not care for future developments.
You can read it that way, yes. ;)
> > Nowadays updating tables is done differently. For example SQLdb
> parses
> > the supplied query, to see if the query is updateable or not.
>
> Is there a rule of thumb, when a query is (or is not) updatable?
When it fetches its data from only one table, it should be updateable.
but you can make every table updateable, but then you should provide the
update-, insert- and delete-sql statements manually.
Joost.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives