一. B-Tree Index 原理官网说明:       No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing the performance of searches on large sets of data. Each B-tree n
原创 2021-12-31 17:46:26
82阅读
一. B-Tree Index 原理官网说明:       No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing
转载 7月前
21阅读
一. B-Tree Index 原理官网说明: No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing the perform
转载 2011-06-27 19:50:00
161阅读
2评论
一. B-Tree Index 原理官网说明: No index structure can satisfy all needs, but the self-balancing B-tree index comes
转载 2022-01-06 10:02:58
122阅读
一. B-Tree Index 原理官网说明:       No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing the performance of searches on large sets of data. Each B
原创 2022-09-02 10:14:05
265阅读
Mysql Index、B Tree、B+ TreeSQL Optimization
原创 2022-09-05 11:35:17
178阅读
Oracle SQL的优化规则: [color=blue][b]尽量少用IN操作符,基本上所有的IN操作符都可以用EXISTS代替[/b][/color] 用IN写出来的SQL的优点是比较容易写及清晰易懂,但是用IN的SQL性能总是比较低的,从ORACLE执行的步骤来分析用IN的SQL与不用IN的SQL有以下区别: ORACLE 试图将其转换成多个表的连接
原创 2023-02-06 17:07:51
434阅读
这里关于SqlServer有两个知识点:一个是使用游标遍历表,另一个是使用if not exists的sql语句进行插入。一、使用游标遍历表  这个表可以是数据库的表,也可以是外面DataTable类型的参数传进去,使用游标可以概括为以下步骤:声明游标、打开游标、读取数据、操作数据、读取数据、关闭游标、释放游标。二、在insert语句使用if not exi
转载 2024-06-10 10:29:26
88阅读
oracle 中distinct关键字可以显示相同记录只显示一条  1.绝对值   S:select abs(-1) value   O:select abs(-1) value from dual   2.取整(大)   S:select ceiling(-1.001) value   O:select ceil(-1.001) value from dual   3.取整(小)   
转载 2007-08-08 17:52:41
911阅读
Data Definition          CREATE, to create a new database object          ALTER, to change an aspect of the
原创 2014-11-12 10:41:49
611阅读
1         Oracle简介 一个 Oracle 服务器:是一个数据管理系统(RDBMS),它提供开放的全面的近乎完整的信息管理。由一个 Oracle 实例 和一个 Oracle 数据库组成。 Oracle 数据库 和 Oracle 实例:Oracle 服务器由两大部分组成, Oracle 数据库 和
转载 2022-10-11 22:00:01
39阅读
当前用户:select * from user_users;select user from dual;show user 查看当前那些用户登录:select username,serial#, sid from v$session;select username,privilege from us
原创 2021-12-27 09:56:40
219阅读
记录量大的情况下,采用NOT IN查询,那肯定会慢的无法接受。比如:SELECT A.* FROM TABLE_A WHERE A.USER_ID NOT IN (SELECT B.USER_ID FROM TABLE_B)目前找到的最优方法,可以秒查。示例如下,查询A表有、B表没有的DEPT_I...
转载 2015-06-23 14:36:00
70阅读
2评论
SQL模板 查询详情 SELECT c.ID,c.STATUS,c.CERT_NUMBER,u."NAME" OWNER, (SELECT u.NAME FROM TB_CERT c,TB_USER_INFO u WHERE c.APPLY_USER_ID=u.ID AND c."ID"=57) A ...
转载 2021-09-21 16:18:00
84阅读
2评论
 1. rownumoracle前10条select * from accounts t where rownum<11 分页 取 10 到20条 :select * from (select t.*,rownum r from accounts t) a where a.r>=10 and a.r<=20; 分页:select * ...
原创 2021-08-24 19:24:28
180阅读
 1. rownumoracle前10条select * from accounts t where rownum<11 分页 取 10 到20条 :select * from (select t.*,rownum r from accounts t) a where a.r>=10 and a.r<=20; 分页:select * ...
原创 2022-02-18 14:56:43
71阅读
--查询出有员工的部门信息select * from dept where deptno   in (select distinct(deptno) from emp);select * from dept t1 where&nb
原创 2016-01-27 12:53:31
521阅读
1点赞
1评论
1. rownumoracle前10条select * from accounts t where rownum<11 分页 取 10 到20条 :select * from (select t.*,rownum r from accounts t) a  where  a.r>=10   and   a.r<=20;  分页: select * from (sele...
原创 2021-08-25 09:52:19
137阅读
1. rownum oracle前10条select * from accounts t where rownum<11
原创 2022-02-18 16:42:48
89阅读
Download Source Code Providing an example form for creating hierarchical trees in Oracle Forms to control data block records. In this form whenever user selects any node in tree menu then correspond...
原创 2021-07-21 11:35:10
1104阅读
  • 1
  • 2
  • 3
  • 4
  • 5