在pdm查看脚本时,发现表名和字段名带有双引号:
- 1.create table"cfg_user_card_account" (
- 2. "user_card_account_id" number not null,
- 3. "dat_user_id" NUMBER,
- 4. "user_balance" number,
- 5. "user_money" number,
- 6. "user_freeze_money" number,
- 7. "user_cost_money" number,
- 8. "user_account_status" number,
- 9. "remark" varchar2(500),
- 10. constraint PK_CFG_USER_CARD_ACCOUNT primary key("user_card_account_id")
- 11.);
如果这样直接在数据库执行sql,引号也会被加上,查询的时候表名、字段名也必须加上引号。可以通过设置导出时,不加引号,方法如下:
这样设置之后,我们再查看一下sql脚本,发现已经达到我们的要求:
- 1.create table cfg_user_card_account (
- 2. user_card_account_id number not null,
- 3. dat_user_id NUMBER,
- 4. user_balance number,
- 5. user_money number,
- 6. user_freeze_money number,
- 7. user_cost_money number,
- 8. user_account_status number,
- 9. remark varchar2(500),
- 10. constraint PK_CFG_USER_CARD_ACCOUNT primary key (user_card_account_id)
- 11.);