all groups > sql server msde > july 2004 >
You're in the

sql server msde

group:

SET CONSTRAINTS ALL DEFERRED not working


SET CONSTRAINTS ALL DEFERRED not working Jens Neuhalfen
7/28/2004 6:44:37 PM
sql server msde:
Hi group,

this just drives me mad: I need my msde (the 7.0 version) to deferr
foreign-key checking until commit time.

The problem is this: I need to delete some rows in different tables
from my middle tier. I do not know which rows in which table are
delted beforhand so sorting the statements is impossible.

My idea now was to call "SET CONSTRAINTS ALL DEFERRED" (which is just
plain SQL92) to tell my %$&§ server to wait until every statement has
been executed.

Please, any idea on how to get that to work?


Re: SET CONSTRAINTS ALL DEFERRED not working Jens Neuhalfen
7/29/2004 12:34:13 PM

[quoted text, click to view]

[snip]

I found out: This is not supported under SQL-Server. Bad luck

AddThis Social Bookmark Button