Subject | RE: [IBO] IBO-DMLCACHE question |
---|---|
Author | Thomas Steinmaurer |
Post date | 2003-09-30T19:37:52Z |
> in my applications i have some data import procedure, for speed-up theDo the import procedure with a specific connected user
> data import process and reduce the network traffic i need to disable the
> DML-CACHE Trigger when my user execute this procedure. Which are the
> best way for do this ?
user (e.g. IMPORT), and wrap the DML-Cache trigger body
with something like ...
BEGIN
IF (USER <> 'IMPORT') THEN
BEGIN
... your DML Cache trigger code here ...
END
END
Whenever you are connected with the user IMPORT,
the code of the DML Cache trigger inside the IF
condition doesn't get executed.
HTH,
Thomas Steinmaurer
The IB LogManager Product Family
Logging/Auditing Suite for InterBase/Firebird
http://www.iblogmanager.com