当前位置:网站首页>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
边栏推荐
- shell 批量文件名(不含扩展名)小写改大写
- [etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- mysql 局域网内访问不到的问题
- 1、深拷贝 2、call apply bind 3、for of for in 区别
- Introduction and basic use of stored procedures
- How to make the new window opened by electorn on the window taskbar
- Digital IC Design SPI
- Flink | multi stream conversion
- 分布式事务解决方案
- Vscade editor esp32 header file wavy line does not jump completely solved
猜你喜欢
交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
xshell连接服务器把密钥登陆改为密码登陆
SSRF漏洞file伪协议之[网鼎杯 2018]Fakebook1
MySQL error 28 and solution
OSI 七层模型
1、深拷贝 2、call apply bind 3、for of for in 区别
Xshell connection server changes key login to password login
My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
Thread pool reject policy best practices
error LNK2019: 无法解析的外部符号
随机推荐
DETR介绍
Deep understanding of array related problems in C language
1. Deep copy 2. Call apply bind 3. For of in differences
室内ROS机器人导航调试记录(膨胀半径的选取经验)
LED light of single chip microcomputer learning notes
Distributed transaction solution
最佳实践 | 用腾讯云AI意愿核身为电话合规保驾护航
Final review notes of single chip microcomputer principle
Data refresh of recyclerview
【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
Storage principle inside mongodb
[Presto profile series] timeline use
MongoDB的导入导出、备份恢复总结
Esp32 series column
JS function returns multiple values
toRaw和markRaw
PAcP learning note 3: pcap method description
Solve the cache breakdown problem
Ways to improve the performance of raspberry pie
高端了8年,雅迪如今怎么样?