dbTalk Databases Forums  

Universe triggers

comp.databases.pick comp.databases.pick


Discuss Universe triggers in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
denis
 
Posts: n/a

Default Universe triggers - 10-18-2006 , 07:39 PM






How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.


Reply With Quote
  #2  
Old   
Albino Timberwolf
 
Posts: n/a

Default Re: Universe triggers - 10-19-2006 , 07:14 AM






Try something like:
IF @LOGNAME="ME" THEN DEBUG

Replace ME with your login name and test, test, test.

"denis" <denis.cheltenham (AT) hotmail (DOT) com> wrote

Quote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.




Reply With Quote
  #3  
Old   
denis
 
Posts: n/a

Default Re: Universe triggers - 10-19-2006 , 09:09 PM



Thanks Albino, but I am trying to catch some rogue program, not some
process which I am running.
Albino Timberwolf wrote:
Quote:
Try something like:
IF @LOGNAME="ME" THEN DEBUG

Replace ME with your login name and test, test, test.

"denis" <denis.cheltenham (AT) hotmail (DOT) com> wrote in message
news:1161218352.665443.101530 (AT) i42g2000cwa (DOT) googlegroups.com...
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.



Reply With Quote
  #4  
Old   
Pickie
 
Posts: n/a

Default Re: Universe triggers - 10-23-2006 , 09:30 PM




denis wrote:
Quote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.
SYSTEM(9001) will give the program tree



Reply With Quote
  #5  
Old   
Pickie
 
Posts: n/a

Default Re: Universe triggers - 10-23-2006 , 09:30 PM




denis wrote:
Quote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.
SYSTEM(9001) will give the program tree



Reply With Quote
  #6  
Old   
Pickie
 
Posts: n/a

Default Re: Universe triggers - 10-23-2006 , 09:30 PM




denis wrote:
Quote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.
SYSTEM(9001) will give the program tree



Reply With Quote
  #7  
Old   
Pickie
 
Posts: n/a

Default Re: Universe triggers - 10-23-2006 , 09:30 PM




denis wrote:
Quote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.
SYSTEM(9001) will give the program tree



Reply With Quote
  #8  
Old   
denis
 
Posts: n/a

Default Re: Universe triggers - 10-25-2006 , 07:04 PM



Many thanks to Pickie, I was over the moon when I tried it. Thanks
again.
Pickie wrote:
Quote:
denis wrote:
How do I find out which program or process invoked the trigger? I
would like to trap an error condition and report which culprit
perpretrated the offense. I tried @HSTMT but that compiles but
generates an improper data type error at run time.

SYSTEM(9001) will give the program tree


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.