IF EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[VCLib].[FK_T_FILE_T_FILE_CONTENT_FileContentID]') AND parent_object_id = OBJECT_ID(N'[VCLib].[T_FILE_CONTENT]'))
ALTER TABLE [VCLib].[T_FILE_CONTENT] DROP CONSTRAINT [FK_T_FILE_T_FILE_CONTENT_FileContentID]
GO
