oracle 数据结构
2016-01-15 00:00
218 查看
oracle 数据结构
添加字段
alter table tablename add(columname columtype)
删除字段
alter table tablename drop(columname)
查看表字段结构
desc tablename
添加主键
alert table 表名 add constraint pkKey primary key(字段列表)
eg. alter table OP_LOG add constraint PK_OP_LOG primary key(OP_LOG_ID);
查看所有存储过程(2013-01-18)
select * from user_objects where object_type='PROCEDURE';
添加字段
alter table tablename add(columname columtype)
删除字段
alter table tablename drop(columname)
查看表字段结构
desc tablename
添加主键
alert table 表名 add constraint pkKey primary key(字段列表)
eg. alter table OP_LOG add constraint PK_OP_LOG primary key(OP_LOG_ID);
查看所有存储过程(2013-01-18)
select * from user_objects where object_type='PROCEDURE';
相关文章推荐
- 数据结构之递归回溯算法
- 数据结构实验之图论六:村村通公路
- 二叉树中序遍历,非递归,用栈
- 数据结构——链表
- 数据结构_6:树:C语言_顺序存储
- 【Java数据结构】线性表
- 浅谈PHP数据结构之单链表
- 数据结构_6:树:C语言_基本概念
- 算法导论14:树形数据结构——二叉树 2016.1.14
- swift排序算法和数据结构
- 数据结构--堆
- 基础数据结构概念回顾
- 二.学习数据结构之数组
- 学数据结构与算法推荐的书
- 数据结构与算法之——五大查找
- 数据结构之(prim)最小生成树
- 数据结构之二叉排序树
- 数据结构一线性表的操作
- 数据结构_5:字符串:C语言
- 二叉树先序建立,先序遍历,中序遍历,后序遍历(递归)