Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 interbase vs sql server

Author  Topic 

Ex
Posting Yak Master

166 Posts

Posted - 2004-12-16 : 19:44:36
hello all.

just got a little query if anyone knows interbase

i have a interbase trigger that does this


CREATE TRIGGER ADJUSTDIMONDEFINEUPDATE FOR testtable
ACTIVE AFTER UPDATE POSITION 0
AS

BEGIN
IF (NEW.id= 0 AND NEW.id2= 0) THEN
BEGIN
//process
END
END



just wondering how this compaires to inserted and deleted tables

when there is a multi row update?
what value would be placed in the .new value? if more than one table is updated ?
want to want to do is something like

if exists(select * from inserted where id = 0 AND id2 = 0)
BEGIN
END

would that be the same? as the interbase one

   

- Advertisement -