oracle数据库建表语句.docVIP

  • 45
  • 0
  • 约1.61万字
  • 约 24页
  • 2017-05-12 发布于贵州
  • 举报
oracle数据库建表语句

oracle数据库建表语句 篇一:Oracle 基本建表语句 --创建用户 create user han identified by han default tablespace users Temporary TABLESPACE Temp; grant connect,resource,dba to han; //授予用户han开发人员的权利 --------------------对表的操作-------------------------- --创建表 create table classes( id number(9) not null primary key, classname varchar2(40) not null ) --查询表 select * from classes; --删除表 drop table students; --修改表的名称 rename alist_table_copy to alist_table; --显示表结构 describe test --不对没查到 -----------------------对字段的操作 ----------------------------------- --增加列 alter table test add address varchar2(40);

文档评论(0)

1亿VIP精品文档

相关文档