ORACLE中的权限设定,建外键,序列,触发器等

本文详细介绍了在Oracle数据库中如何进行权限设置,包括创建外键、序列和触发器等关键操作。通过实例解析,读者将理解如何为用户授予不同级别的权限,以及如何利用这些权限来维护数据库的一致性和完整性。
摘要由CSDN通过智能技术生成
首先建立了两张表: 
create table car_type_t ( 
   typeid               numeric(20)          not null, 
   typename             varchar(50)          null, 
   constraint PK_CAR_TYPE_T primary key (typeid) 


create table vehicle_t ( 
   vehicleid            numeric(10)          not null, 
   typeid               numeric(20)          null, 
   fueltypeid           numeric(10)          null, 
   vehiclestatusid      numeric(10)          null, 
   vehiclenumber        numeric(10)          null, 
   vehiclelength        float(10)            null, 
   vehiclewidth         float(10)            null, 
   vehiclehigh          float(10)            null, 
   vehiclecolor         varchar(10)          null, 
   solddat              date        
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值