Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

PD 16.5 SP05 Constraint With Nocheck

$
0
0

Hi,

 

I'm building a physical data model using PD 16.5.


The target DB is Sql Server 2012.


I would like to generate the DDL having all FK generated as:

ALTER TABLE [schema_name].[table_name] WITH NOCHECK

ADD CONSTRAINT [table_name_fk] FOREIGN KEY([column_name])

REFERENCES [schema_name].[table_name] ([column_name])

 

The only part of this DDL I can'’t get PD to generate is the «WITH NOCHECK» portion.

I know I can EDIT the DMBS local file to hard code the WITH NOCHECK in Script/Obects/Reference/Create, but this would alter all the FK within a model. Is there a way to use the standard PD interface  and click something or select an option to indicate the WITH NOCHECK option for each FK within a model? 

 

Does anybody know how to do this?

Regards

Pierre


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>