当前位置:网站首页>Interpreting Oracle
Interpreting Oracle
2022-06-26 02:56:00 【qq_ forty-five million eight hundred and forty-nine thousand tw】
– Create tablespace
create tablespace waterboss
datafile ‘c:\waterboss.dbf’
size 100m
autoextend on
next 10m;
– Create user
create user wateruser
identified by itcast
default tablespace waterboss;
– to wateruser give DBA jurisdiction
grant dba to wateruser
– Create owner table
CREATE TABLE T_OWNERS(
ID NUMBER PRIMARY KEY,
NAME VARCHAR2(30),
ADDRESSID NUMBER,
HOUSENUMBER VARCHAR2(30),
WATERMETER VARCHAR2(30),
ADDDATE DATE,
OWNERTYPEID NUMBER
)
– Insert statement
insert into T_OWNERTYPE (ID,NAME) VALUES (1,‘ Resident ’);
insert into T_OWNERS VALUES (1,‘ Zhang Sanfeng ’,1,‘1-1’,‘123456’,sysdate,1 );
commit;
– Modify the statement
update T_OWNERS set adddate=adddate-3 where id=1;
commit;
– Delete statements
delete from T_OWNERS where id=1;
commit;
– Delete statements
truncate table T_OWNERTYPE
边栏推荐
- Redis configuration and optimization of NoSQL
- 如何在 R 中的绘图中添加回归方程
- How to check and cancel subscription auto renewal on iPhone or iPad
- Interviewer: please name four ways to exchange the values of two variables without using third-party variables
- Problem solving process of no internet access
- 网上开户选哪个证券公司?网上开户是否安全么?
- Overview of orb-slam3 paper
- Redis classic 20 questions
- . Net7 miniapi (special part):preview5 optimizes JWT verification (Part 2)
- UE5全局光照系统Lumen解析与优化
猜你喜欢
网络PXE启动WinPE,支持UEFI和LEGACY引导
How to solve the problem that the iPhone 13 lock screen cannot receive the wechat notification prompt?
Fresh graduates talk about their graduation stories
What is the sudden power failure of iPhone and how to solve it?
OpenAPI 3.0 specification - Food Guide
DF reports an error stale file handle
财富自由技能:把自己产品化
小 P 周刊 Vol.10
【flask入门系列】flask处理请求和处理响应
【解决】CMake was unable to find a build program corresponding to “Unix Makefiles“.
随机推荐
55 pictures make you feel a bit B-tree at one time
如何在 ggplot2 中向绘图中添加表格
组件与路由
High availability in Internet three highs (high concurrency, high performance and high availability)
The difference between like,%, - in database query SQL
What is the sudden power failure of iPhone and how to solve it?
Oracle练习
【系统架构】-如何评估软件架构
df报错Stale file handle
How to solve the problem that the iPhone 13 lock screen cannot receive the wechat notification prompt?
Mongoose - Why we make “mongoose.Promise = global.Promise” when setting a mongoose module?
基于 ovarian 数据集 进行生存分析
How do I take a screenshot of the iPad? 7 ways to take quick screenshots of iPad
版本管理工具使用
Is it safe to open a securities account at the school of Finance and business in 2022?
Translation notes of orb-slam series papers
OpenAPI 3.0 specification - Food Guide
Here comes the official zero foundation introduction jetpack compose Chinese course!
如何在 ggplot2 中删除网格线(附示例)
Win10 computer power management turns on excellence mode