Вопрос

Is there a way to select all constraints or check if a default constraint exists before deleting it in Sql Ce? For example in Sql Server you could select from sys.default_constraints..

Это было полезно?

Решение

You can get this information from the INFORMATION_SCHEMA views: http://technet.microsoft.com/en-us/library/ms174156.aspx

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top