当前位置: 代码迷 >> PB >> 搞了2天,彻底崩溃,求好手 powerdesigner 设置asa数据库的 auto increment,也就是找identify
  详细解决方案

搞了2天,彻底崩溃,求好手 powerdesigner 设置asa数据库的 auto increment,也就是找identify

热度:530   发布时间:2016-04-29 05:46:55.0
搞了2天,彻底崩溃,求高手 powerdesigner 设置asa数据库的 auto increment,也就是找identify
这里人气比pd和asa都要好些, 所以在这里求贴,版主误删啊

搞了2天,也没找到pd设置asa的auto increment的地方,我知道要在物理模型里面的indentify打钩,我也试过mysql和mssql都没有问题,都有identify这个选项,唯独sybasee自己家的asa哪个版本都没有。不知道怎样生成?????
------解决方案--------------------
你用的是pd的哪个版本,我用的是pd16,这是我生成数据表的执行代码,经测试,没有你说的问题。

*** Executing SQL statement 1:
if exists (select 1
            from  sysobjects
            where id = object_id('Table_1')
            and   type = 'U')
   drop table Table_1

*** SQL statement successfully executed.

*** Executing SQL statement 2:
create table Table_1 (
   Column_1             integer                        identity,
   Column_2             datetime                       null,
   Column_3             varchar(20)                    null,
   Column_4             varchar(100)                   null,
   constraint PK_TABLE_1 primary key (Column_1)
)

*** SQL statement successfully executed.

  相关解决方案