当前位置:网站首页>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
边栏推荐
- 为租客提供帮助
- [learning notes] segment tree selection
- 单片机学习笔记之点亮led 灯
- Getting started with cinnamon applet
- Split screen bug notes
- postgresql array类型,每一项拼接
- How to make the new window opened by electorn on the window taskbar
- OSI 七层模型
- 分屏bug 小记
- Introduce six open source protocols in detail (instructions for programmers)
猜你喜欢
随机推荐
Getting started with MySQL
Deep understanding of array related problems in C language
php——laravel缓存cache
Vscade editor esp32 header file wavy line does not jump completely solved
靠卖概念上市,认养一头牛能走多远?
Digital IC Design SPI
[learning notes] agc010
LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
Summary of import, export, backup and recovery of mongodb
[learning notes] segment tree selection
Clion mingw64 Chinese garbled code
工具箱之 IKVM.NET 项目新进展
记一次 .NET 某新能源系统 线程疯涨 分析
Ways to improve the performance of raspberry pie
Read PG in data warehouse in one article_ stat
MongoDB命令汇总
2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
MySQL error 28 and solution
error LNK2019: 无法解析的外部符号
C语言数组相关问题深度理解