原贴:http://community.csdn.net/Expert/topic/4288/4288923.xml?temp=.1241571

--主要解决方法:

A:在PowerDesigner 建表

B:然后给每一个表的字段建立相应的摘要文件

步骤如下:

Model->Test Data Profiles

配置每一个字段摘要文件
General:
输入Name、Code、
选择Class(数字、字符、时间)类型
选择Generation Source: Automatic、List、ODBC、File
Detail:
配置字段相关信息


所有字段摘要文件配置完成后
双击该表->选择字段->Detail->选择Test Data Parameters 摘要文件
如果字段值与其它字段有关系在: Computed Expression 中输入计算列


--生成测试数据:
DataBase->Generation Test Data->
选择:Genration 类型(Sript、ODBC)
     Selection(选择要生成的表)
     Test Data Genration(Default number of rows 生成记录行数)

相关文章:

  • 2021-11-17
  • 2021-06-27
  • 2021-07-03
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-12
  • 2022-12-23
  • 2021-08-25
  • 2021-12-22
  • 2021-09-27
  • 2021-10-13
相关资源
相似解决方案