ORACLE
文章平均质量分 53
叫我吕小布
future is better , 不死总会变强...
展开
-
ORACLE:JAVA连接数据库时,SID、Service Name的区别
1.使用ServiceName连接:jdbc:oracle:thin:@<host>:<port>/<service name>2.使用SID来连接:jdbc:oracle:thin:@<host>:<port>:<sid>3.使用TNSName 来连接:jdbc:oracle:thin:@<TNSName>原创 2021-02-28 10:36:32 · 1747 阅读 · 0 评论 -
ORACLE:查询表空间信息及位置
摘要:记录一下操作oracle表空间的基本操作,比如查看大小,查看位置,修改大小等。目录简介1.查看表空间大小及使用情况;2.查看表空间位置;3.修改表空间大小;4.使用navicat操作表空间;一、查看表空间大小及使用情况:1.1.查看表空间大小,sql语句如下:1.SELECT t.tablespace_name, round(SUM(b...原创 2018-07-11 11:29:19 · 5362 阅读 · 1 评论 -
ORACLE:数据库中ROWNUM的详解与应用
首先先了解一下Rownum的执行机制:1.Oracle executes your query.(开始执行查询)2.Oracle fetches the first row and calls it row number 1.(执行第一行,并且标记该行为第一行)3.Have we gotten past row number meets the criteria? If no, t原创 2017-04-27 16:17:03 · 1366 阅读 · 1 评论