🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70123

Re: czy mozna programowo wylaczyc triggera w FB

#70123
From: Marcin
Date: Tue, 12 Jun 2007 10:37
14 lines
1457 bytes
neuron wrote:
> mam problem - mam trigger ktory nadaje nowemu rekordowi id i oznacza zapis 
> czasem serwera. Okazuje sie jednak ze musze podrzucic dane ze wstecznym 
> czasem. Oczywiscie moge zrobic insert a potem update ale to dlugo potrwa. 
> Czy istnieje mozliwosc czasowego wylaczenia triggera bez jego przebudowy 
> albo zrobienia insertu tak aby trigger nie zadzialal ??

ALTER TRIGGER blabla INACTIVE;

M.

P.S.
Ja często w tabelkach stosuję flagi, które informują o tym,
czy triggery (insert, update, delete) mają być odpalane.
Technical Details
Message-ID: <f4lt0h$3pp$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f4ls8s$fql$1@mx1.internetia.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Marcin <spam@noaddress.xx>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: czy mozna programowo wylaczyc triggera w FB
Date: Tue, 12 Jun 2007 12:37:38 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 16
Message-ID: <f4lt0h$3pp$1@atlantis.news.tpi.pl>
References: <f4ls8s$fql$1@mx1.internetia.pl>
NNTP-Posting-Host: dzj145.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1181644625 3897 83.22.147.145 (12 Jun 2007 10:37:05 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 12 Jun 2007 10:37:05 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <f4ls8s$fql$1@mx1.internetia.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit