AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Delphi Insert oder Update ?
Thema durchsuchen
Ansicht
Themen-Optionen

Insert oder Update ?

Ein Thema von Hansa · begonnen am 31. Okt 2003 · letzter Beitrag vom 1. Nov 2003
 
Hansa

Registriert seit: 9. Jun 2002
Ort: Saarland
7.554 Beiträge
 
Delphi 8 Professional
 
#5

Re: Insert oder Update ?

  Alt 1. Nov 2003, 10:52
Sharky ist da wie es aussieht ziemlich nah dran, aber das hier ist wahrscheinlich die Lösung :

Zitat von Borland:
> Whats the best way to handle this ?

I think the most elegant way would be to write an updateable VIEW (a
JOIN with the result set you need and triggers to do the
INSERTs/UPDATEs on the underlying tables). Your app simply treats the
VIEW like it was a table, and the DB server hides the implementation
details.
Views sind einige der wenigen Dinge, mit denen ich mich noch nicht beschäftigt habe. Nur, was meint der mit einem updateable VIEW ??? Und was soll das für ein JOIN sein ???
Gruß
Hansa
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:09 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz