码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
row_number() over order by与利用rownum查询分页效率分析
实际测试:数据库:70万条数据查询第10000页,每页10条。row_number() 耗时: 2.2秒rownum 耗时:1.3秒查询第20000页,每页10条。row_number() 耗时: 4.5秒+rownum 耗时:3.8秒+ 网上看到的说,row_number()效率最高看来是没有经....
分类:其他好文   时间:2014-09-02 13:58:14    阅读次数:216
Oracle 存储过程
简要记录存储过程语法与Java程序的调用方式 一 存储过程 首先,我们建立一个简单的表进行存储过程的测试create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);inse...
分类:数据库   时间:2014-09-02 13:47:04    阅读次数:254
enable Remote TCP conection in PostGres
Bydefault,RemoteTCPconnectionisnot enabledinPostGres.DefaultbehavioristolistenforTCP/IPconnections onlyonthelocalloopbackaddresslocalhost.Thereforeweneedto modifypg_hba.confFiletoenableremoteaccessinPostGresatC:\ProgramFiles\PostGresSQL\9.3\data(ExampleforP..
分类:其他好文   时间:2014-09-02 12:38:05    阅读次数:207
Android - "cause failed to find target android-14" 问题
"cause failed to find target android-14" 问题本文地址: http://blog.csdn.net/caroline_wendyAndroid Studio 在加载OpenCV库时, 会出现报错: "cause failed to find target android-14"修改app文件夹中的build.gradle文件即可. 把SdkVersion改为...
分类:移动开发   时间:2014-09-02 12:29:54    阅读次数:224
oracle存储过程+游标处理select数据
create or replace PROCEDURE UPDATE_RECORDCODE is cursor location_data is select * from location where remark in('952701','9527008','952705');--申明游标 serviceCode NUMBER:=1; BEGIN for l in locati...
分类:数据库   时间:2014-09-02 12:29:14    阅读次数:220
Oracle 11g虚拟列上建分区
在Oracle 11g上,可以在虚拟列上做分区,这个特性还比较有用,下面来做一个测试: SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edi...
分类:数据库   时间:2014-09-02 12:28:24    阅读次数:194
PL/SQL个人学习笔记(二)
declare cursor s is select version from city_server t; s_ city_server.version%type;begin open s; fetch s into s_; if s_>2 then DBMS_OUTPUT.put_line(s_); end if; close s;end;...
分类:数据库   时间:2014-09-02 10:35:24    阅读次数:200
Maximum Depth of Binary Tree
问题描述 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 解决方案 /** * Definition fo...
分类:其他好文   时间:2014-09-02 00:26:44    阅读次数:217
HDU 1394 Minimum Inversion Number (线段树 单点更新 求逆序数)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1394 题意:给你一个n个数的序列,其中组成的数只有0-n,我们可以进行这么一种操作:把第一个数移到最后一个,次数不限。问,在原始数列和最新生成的数列中逆序数最小可以是多少? 刚开始以为需要枚举求逆序数,但最后知道了这个题是有规律的:一个由0-n组成的n个数的数列,当第一个数移到最后一位的时...
分类:其他好文   时间:2014-09-02 00:21:42    阅读次数:249
Java Script 基本知识点
JavaScript是一种基于对象和事件驱动的脚本语言,它提供了一些专有的类、对象及函数 1.基本数据类型 JavaScript提供了4种基本的数据类型用来处理数字和文字 Number、String、Null、Boolean1).变量 语法: var变量名=值; 变量命名规范:1)变量名由字母、数....
分类:编程语言   时间:2014-09-02 00:12:03    阅读次数:322
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!