|
|
Choosing A Webhost: |
Re: Trigger und Funktion: msg#00021db.postgresql.german
> > Delete ist noch eine Thema für sich. Denn in der Buchhaltung > gibt es kein löschen von Daten als solches, sondern eher ein > Storno, was ich aber auch gern von der Datenbank verwaltet > wissen würde (On delete trigger). dafuer eignen sich meiner meinung nach nun mal RULES am besten, um das delete komplett um zu schreiben ala ...ON DELETE TO bar.tbl_foo DO INSTEAD UPDATE bar.tbl_foo SET geloescht = true WHERE tbl_foo.id = old.id; ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Trigger und Funktion, udono |
|---|---|
| Next by Date: | Re: Trigger und Funktion, Andreas Kretschmer |
| Previous by Thread: | Re: Trigger und Funktion, udono |
| Next by Thread: | Re: Trigger und Funktion, Jürgen E. Fischer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |