Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - IDENTITY crisis :-)
  FAQ FAQ  Forum Search   Register Register  Login Login

IDENTITY crisis :-)

 Post Reply Post Reply
Author
mikek View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 February 2005
Location: Switzerland
Status: Offline
Points: 133
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikek Quote  Post ReplyReply Direct Link To This Post Topic: IDENTITY crisis :-)
    Posted: 06 October 2005 at 6:06am

Roberto:

would it be possible for you to use SELECT SCOPE_IDENTITY() instead of SELECT @@IDENTITY after your SQL INSERTS?

I am trying to add an INSERT trigger to the tblMSGs Table which itself inserts another record into another table, but by doing so, it breaks the following INSERT to the tblQuarantine Table because @@IDENTITY will return the identity of the record inserted by the trigger.

Thanks,

Mike

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2005 at 10:46pm
Sorry Mike, SpamFilter makes generic ADO calls to the data components. It's then the data libraries that translate the calls to SQL specific command for the database platform used. We're not able to currently control the exact SQL language being used.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.459 seconds.