oracle建表语句模板

oracle建表语句模板Createtablec INST ORDER codestring inst codestring fund codestring strategy codestring cash account codestring trade typestring advisor codestring advisor name

-- Create table create table BOI_INST_ORDER ( code string, inst_code string, fund_code string, strategy_code string, cash_account_code string, trade_type string, advisor_code string, advisor_name string, symbol string, secu_code string, secu_name string, status string, amt decimal(15,2), vol decimal(15,2), investment_date decimal(13), remark string, create_user string, update_user string, create_time string, update_time string, exec_code string ) tablespace TBS_COI pctfree 10 initrans 1 maxtrans 255 storage ( initial 64K next 1M minextents 1 maxextents unlimited ); -- Add comments to the table  comment on table BOI_INST_ORDER is '委托表'; -- Add comments to the columns  comment on column BOI_INST_ORDER.code is '委托编码'; comment on column BOI_INST_ORDER.inst_code is '指令编码'; comment on column BOI_INST_ORDER.fund_code is '产品编码'; comment on column BOI_INST_ORDER.strategy_code is '策略代码'; comment on column BOI_INST_ORDER.cash_account_code is '账户代码'; comment on column BOI_INST_ORDER.trade_type is '交易方向'; comment on column BOI_INST_ORDER.advisor_code is '资产受托人代码'; comment on column BOI_INST_ORDER.advisor_name is '资产受托人名称'; comment on column BOI_INST_ORDER.symbol is 'SYMBOL'; comment on column BOI_INST_ORDER.secu_code is '投资资产编码'; comment on column BOI_INST_ORDER.secu_name is '投资资产名称'; comment on column BOI_INST_ORDER.status is '委托状态'; comment on column BOI_INST_ORDER.amt is '委托金额'; comment on column BOI_INST_ORDER.vol is '委托份额'; comment on column BOI_INST_ORDER.investment_date is '投资执行日'; comment on column BOI_INST_ORDER.remark is '备注'; comment on column BOI_INST_ORDER.create_user is '创建用户'; comment on column BOI_INST_ORDER.update_user is '修改人'; comment on column BOI_INST_ORDER.create_time is '创建时间'; comment on column BOI_INST_ORDER.update_time is '修改时间'; comment on column BOI_INST_ORDER.exec_code is '成交编码'; -- Create/Recreate primary, unique and foreign key constraints  alter table BOI_INST_ORDER add primary key (CODE) using index tablespace TBS_COI pctfree 10 initrans 2 maxtrans 255 storage ( initial 64K next 1M minextents 1 maxextents unlimited ); 
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/217981.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月18日 上午8:19
下一篇 2026年3月18日 上午8:20


相关推荐

  • 爱,该放弃吗_有一种爱叫做放手

    爱,该放弃吗_有一种爱叫做放手爱,绝不是缺了就找,更不是累了就换。   找一个能一起吃苦的,而不是一起享受的   找一个能一起承担的,而不是一起逃避的   找一个能对你负责的,而不是对爱情负责的   爱情是盲目的,生活是现实的   因为爱情只不过是人类为了逃避现实而衍生的产品   为了逃避现实,我寻找爱情   为了寻找爱情,我失去真情   失去了真情,才发现早已身陷虚情.   你以为爱情是什么?   一点点的动心,一点点的冲动

    2026年2月3日
    6
  • InetAddress 解析

    InetAddress 解析IP地址分为IPv4和IPv6。IPv44字节长的ip称为IPv4.目前大部分ip都是IPv4。IPv4地址一般写为四哥无符号的字节,每个字节范围从0到255,最高字节在前面。为方便人们查看,各字节用点号分割。例如:192.168.1.100.这称为点分四段格式。IPv616字节长的ip成为IPv6.IPv6地址通常些微冒号分割的8个区块,每个区块4个十六进制数字。例如:2400:c

    2022年6月23日
    36
  • java中float和double的区别?

    java中float和double的区别?float 单精度类型 精度是 8 位有效数字 其余部分四舍五入 取值范围是 10 的 38 次方到 10 的 38 次方 float 占用 4 个字节的存储空间 double 双精度类型 精度是 17 位有效数字 取值范围是 10 的 308 次方到 10 的 308 次方 double 占用 8 个字节的存储空间 若不声明的 默认小数都用 double 来表示 所以如果要用 float 的话 则应该在其后加上 f 例如 floata 1

    2026年3月18日
    2
  • 豆包·深度思考模型全球首发上车!上汽荣威M7 DMH正式上市

    豆包·深度思考模型全球首发上车!上汽荣威M7 DMH正式上市

    2026年3月12日
    2
  • redis+springboot_redis部署

    redis+springboot_redis部署目录1、搭建环境2、测试Redis3、StringRedisTemplate3.1、介绍3.2、StringRedisTemplate常用操作3.3、StringRedisTemplate的使用4、RedisTemplate4.1、介绍4.2、RedisTemplate常用操作4.3、RedisTemplate的使用SpringBootData(数据)Redis中提供了RedisTemplate和StringRedisTemplate,其中StringRedisTemplate是RedisTem.

    2026年2月18日
    4

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号