dbTalk Databases Forums  

INSERTED in PSQL

comp.databases.btrieve comp.databases.btrieve


Discuss INSERTED in PSQL in the comp.databases.btrieve forum.



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

Default INSERTED in PSQL - 03-13-2007 , 10:26 AM






MS SQL has Inserted and Deleted tables that I used in my triggers. Is
there Inserted/Deleted tables in PSQL?


Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: INSERTED in PSQL - 03-14-2007 , 07:22 AM






If you are using Triggers, please be aware that you MUST use the SQL
interface to access the data -- you cannot use Native Btrieve.

Having made that disclaimer, there are no special tables for trigger
data, although each trigger should fire for each inserted/deleted
record, and you can use the "REFERENCING" clause to access the inserted
or deleted data.

Search the online manuals for REFERENCING, or look under the TRIGGER
syntax section, for more information.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 03/2007 ***


Rookie wrote:

Quote:
MS SQL has Inserted and Deleted tables that I used in my triggers. Is
there Inserted/Deleted tables in PSQL?


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

Default Re: INSERTED in PSQL - 03-14-2007 , 10:27 AM



Thanks Bill.

I was hoping to write a trigger using Pervasive.SQL Control Center.

REFERNCING should help.

Thanks again.
************************************************** ***************************

On Mar 14, 7:22 am, "Bill Bach" <golds... (AT) speakeasy (DOT) net> wrote:
Quote:
If you are using Triggers, please be aware that you MUST use the SQL
interface to access the data -- you cannot use Native Btrieve.

Having made that disclaimer, there are no special tables for trigger
data, although each trigger should fire for each inserted/deleted
record, and you can use the "REFERENCING" clause to access the inserted
or deleted data.

Search the online manuals for REFERENCING, or look under the TRIGGER
syntax section, for more information.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillB... (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 03/2007 ***



Rookie wrote:
MS SQL has Inserted and Deleted tables that I used in my triggers. Is
there Inserted/Deleted tables in PSQL?- Hide quoted text -

- Show quoted text -



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.