-- Create table
create table T_CUS_CUSTOMER
(
ID VARCHAR2(32) default SYS_GUID() not null,
NAME VARCHAR2(60) not null
)
tablespace USERS;
-- Create/Recreate primary, unique and foreign key constraints
alter table T_CUS_CUSTOMER
add constraint PK_T_CUS_CUSTOMER primary key (ID)
using index
tablespace USERS;
oracle建表语句赋默认值
最新推荐文章于 2023-09-01 11:08:13 发布