当前位置:网站首页>Oracle advanced (V) schema solution
Oracle advanced (V) schema solution
2022-07-07 13:34:00 【InfoQ】
One 、 Definition
schema
schema
schema
tables, views, sequences, stored procedures, synonyms, indexes, clusters, and database links
schema
schema
schema
schema
Oracle
schema
schema
create schema
schema
schem
shcema
schema
schema
user
schema
schema
schema
sheman
select * from emp;
select * from scott.emp
schema.object
schema
schema
Two 、 give an example
SQL> Gruant dba to scott
SQL> create table test(name char(10));
Table created.
SQL> create table system.test(name char(10));
Table created.
SQL> insert into test values('scott');
1 row created.
SQL> insert into system.test values('system');
1 row created.
SQL> commit;
Commit complete.
SQL> conn system/manager
Connected.
SQL> select * from test;
NAME
----------
system
SQL> ALTER SESSION SET CURRENT_SCHEMA = scott; -- Change the user default schema name
Session altered.
SQL> select * from test;
NAME
----------
scott
SQL> select owner ,table_name from dba_tables where table_name=upper('test');
OWNER TABLE_NAME
------------------------------ ------------------------------
SCOTT TESTSYSTEM TEST
schema
边栏推荐
- [QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
- Xshell connection server changes key login to password login
- User management summary of mongodb
- Custom thread pool rejection policy
- LIS 最长上升子序列问题(动态规划、贪心+二分)
- Cmake learning and use notes (1)
- Server to server (S2S) event (adjust)
- High end for 8 years, how is Yadi now?
- 干货|总结那些漏洞工具的联动使用
- 数字ic设计——SPI
猜你喜欢
随机推荐
MySQL error 28 and solution
Esp32 series column
shell 批量文件名(不含扩展名)小写改大写
Ways to improve the performance of raspberry pie
靠卖概念上市,认养一头牛能走多远?
ESP32 ① 编译环境
高端了8年,雅迪如今怎么样?
Deep understanding of array related problems in C language
MongoDB命令汇总
MySQL error 28 and solution
LED light of single chip microcomputer learning notes
【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
作战图鉴:12大场景详述容器安全建设要求
2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置
postgresql array类型,每一项拼接
Read PG in data warehouse in one article_ stat
工具箱之 IKVM.NET 项目新进展
[1] Basic knowledge of ros2 - summary version of operation commands
Introduce six open source protocols in detail (instructions for programmers)
社会责任·价值共创,中关村网络安全与信息化产业联盟对话网信企业家海泰方圆董事长姜海舟先生