CHECK/NOCHECK for Sql Compact Edition

Posted by Ryan H on Stack Overflow See other posts from Stack Overflow or by Ryan H
Published on 2009-10-16T19:31:04Z Indexed on 2010/05/23 1:50 UTC
Read the original article Hit count: 339

Filed under:
|
|
|

I am attempting to wipe and repopulate test data on SQL CE. I am getting an error due to FK constraints existing. Typically in Sql2005 I would

ALTER TABLE [tablename] CHECK/NOCHECK CONSTRAINT ALL
to enable/disable all constraints. From what I could find in my searching, it seems that this might not be supported in CE. Is that true? If so, is there an alternative?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server