1、在从CDM生成PDM时,选择DBMS为MSSQL2000,且确保下图中的Default Implementation值为Declarative;
2、在PDM上选择Datebase->Change the Target DBMS,弹出下图,在“DBMS”中选择MSSQL2005或者MSSQL2008,点确定;
3、生成MSSQL2005或MSSQL2008数据库脚本,就能够正常生成需要的外键;
1、在从CDM生成PDM时,选择DBMS为MSSQL2000,且确保下图中的Default Implementation值为Declarative;
2、在PDM上选择Datebase->Change the Target DBMS,弹出下图,在“DBMS”中选择MSSQL2005或者MSSQL2008,点确定;
3、生成MSSQL2005或MSSQL2008数据库脚本,就能够正常生成需要的外键;