
数据库
mountwolf
资深码农,精通C/C++、数据库、网络开发,java也有初步涉猎。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
select返回的记录顺序
select返回记录的顺序对我们编程方式有较大影响,因此有必要明确select返回记录的顺序。 select返回记录的顺序与数据库类型有很大关系,与索引情况也有很大关系,以下分类讨论。 1.在oracle中 (1)如果select 后面的where条件中不含索引,oracle按rowid的大小顺序来返回记录。 因此 select * from mytable 与 select * from myt...转载 2019-04-30 16:24:46 · 2689 阅读 · 0 评论 -
数据库相关简单汇总
◎、存储过程: 1、局部变量/if+then+endif: create or replace procedure pr_writedata ( vMsgId1 in number ) as found int; begin select 1 into found from dual where exists (select 1 from notepad where MsgId1=vMsgId1)...原创 2019-04-30 16:53:09 · 303 阅读 · 0 评论