![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
海洋饼干c
这个作者很懒,什么都没留下…
展开
-
oracle同义词表信息查询
近期在项目中有接触到oracle数据库的同义词表的一些操作,现在把工作中用到过的一些语句分享一下,也基本是从互联网上获取到的只是将它做一个收集整理,如有错误的地方,欢迎大家指正。1:获取当前所有的同义词表名:select table_name from user_synonyms2:查询所有同义词表的所有者:select table_owner from user_synonyms3:查询当前同义词表的所有者:select table_owner from user_synonyms WHE原创 2020-08-31 11:03:20 · 10899 阅读 · 1 评论 -
oracle 表字段操作语句
创建表:create table 表名 (字段名1 字段类型 默认值 是否为空 ,字段名2 字段类型 默认值 是否为空,字段名3 字段类型 默认值 是否为空, … );创建一个user表:create table user (id number(6) primary key, —主键name varchar(50) not null, —姓名 不为nullse...转载 2020-04-23 16:14:54 · 405 阅读 · 0 评论