当前位置:网站首页>Oracle table creation statement template
Oracle table creation statement template
2022-07-25 06:43:00 【You in Yangzhou】
-- 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 ' Entrustment form ';
-- Add comments to the columns
comment on column BOI_INST_ORDER.code
is ' Commission code ';
comment on column BOI_INST_ORDER.inst_code
is ' Instruction code ';
comment on column BOI_INST_ORDER.fund_code
is ' Product code ';
comment on column BOI_INST_ORDER.strategy_code
is ' Policy code ';
comment on column BOI_INST_ORDER.cash_account_code
is ' Account code ';
comment on column BOI_INST_ORDER.trade_type
is ' Trading direction ';
comment on column BOI_INST_ORDER.advisor_code
is ' Asset trustee code ';
comment on column BOI_INST_ORDER.advisor_name
is ' Name of asset trustee ';
comment on column BOI_INST_ORDER.symbol
is 'SYMBOL';
comment on column BOI_INST_ORDER.secu_code
is ' Investment asset code ';
comment on column BOI_INST_ORDER.secu_name
is ' Name of investment assets ';
comment on column BOI_INST_ORDER.status
is ' Delegation status ';
comment on column BOI_INST_ORDER.amt
is ' Entrusted amount ';
comment on column BOI_INST_ORDER.vol
is ' Entrusted share ';
comment on column BOI_INST_ORDER.investment_date
is ' Investment execution date ';
comment on column BOI_INST_ORDER.remark
is ' remarks ';
comment on column BOI_INST_ORDER.create_user
is ' Create user ';
comment on column BOI_INST_ORDER.update_user
is ' Modifier ';
comment on column BOI_INST_ORDER.create_time
is ' Creation time ';
comment on column BOI_INST_ORDER.update_time
is ' Modification time ';
comment on column BOI_INST_ORDER.exec_code
is ' Transaction code ';
-- 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
);
边栏推荐
- Health clock in daily reminder tired? Then let automation help you -- hiflow, application connection automation assistant
- How programmers write bugs
- C language -c51 compilation warning "* * * warning l1: unresolved external symbol" and extern
- 睡眠不足有哪些危害?
- C # read Beckhoff variable
- How to learn C language?
- What determines the "personality" of AI robots?
- In container multicast
- Android interview question: why do activities rebuild ViewModel and still exist—— Jetpack series (3)
- Basic usage of thread class
猜你喜欢

Microorganisms are healthy. Don't exclude microorganisms in the human body

10分钟看懂Jmeter 是如何玩转 redis 数据库的

Do you know the same period last year in powerbi

What are the hazards of insufficient sleep?

不只是日志收集,项目监控工具Sentry的安装、配置、使用

C#控件开源库:MetroFramework的下载

Software engineering in Code: regular expression ten step clearance

Precautions for starting up the server of Dahua Westward Journey

Quick sort code implementation

JZ7 重建二叉树
随机推荐
如何学习 C 语言?
【C】 Program environment and pretreatment
DOM event type
健康打卡每日提醒累了?那就让自动化帮你---HiFlow,应用连接自动化助手
JZ7 重建二叉树
mvc与三层结构终极区别
Easy to understand: basic knowledge of MOS tube
EFCore高级Saas系统下单DbContext如何支持不同数据库的迁移
Developers must read: 2022 mobile application operation growth insight white paper
Ida Pro novice tutorial
Microorganisms are healthy. Don't exclude microorganisms in the human body
Mlx90640 infrared thermal imager temperature measurement module development notes (I)
常吃发酵馒头是否会伤害身体
C#开源控件MetroFramework Demo项目下载和运行
2022深圳杯
C#--MetroFramework框架调用metroModernUI库,并在工具栏使用
Classic cases of static keywords and block blocks
Du Jiao sieve
[C language] document processing and operation
js数据类型的判断——案例6精致而优雅的判断数据类型