insert statements will fail to restore data from temporary table. you must correct statements preceded by a warning comment in spcript.

insert statements will fail to restore data from temporary table. you must correct  statements preceded by a warning comment in spcript.

insert语句将无法从临时表还原数据。必须更正spcript中前面带有警告注释的语句。

解决方案: 在Powdesigner生成的sql 中搜索注释符号 --

这里生成了一个?号,导致报错无法插入,原因是没有字段。

所以 导入数据时要么提前修改数据库添加字段,要么删除select 和insert中的这个新添加的字段。

如下:

猜你喜欢

转载自www.cnblogs.com/hao-1234-1234/p/12358139.html