码迷,mamicode.com
首页 >  
搜索关键字:where select    ( 51223个结果
索引组织表
select * from aa where id=1;如果在id列建立索引,那么他会首先在索引块中找到该记录的rowid,然后再进行回表读,如果要查询索引以外的列,那么回表读是不可避免的。但是建立索引组织表就可以避免回表读试验索引组织表的最大特点就是表就是索引,索引就是表,这个一种特别的设计,所以...
分类:其他好文   时间:2014-06-13 14:17:13    阅读次数:210
Oracle中空值与数字相加问题
select 10 + 10 + 10 from dual结果是30,全然没问题。select null + 10 + 10 from dual结果是空串,但期望的结果是20。select nvl(null,0) + 10 + 10 from dual这样处理结果为20。若查询有空值的情况需利用nv...
分类:数据库   时间:2014-06-12 00:42:16    阅读次数:393
UTS- Date format patterns
http://unicode.org/reports/tr35/tr35-6.html#Date_Format_PatternsAppendix F:Date Format PatternsA date pattern is a string of characters, where specifi...
分类:其他好文   时间:2014-06-11 23:37:19    阅读次数:499
报账单导入
一、发票题头信息1.非工程类报账单和工程类报账单判断依据非工程类报账单判断依据是项目、任务、支出类型不用传值工程类报账单项目、任务、支出类型必须传值2.员工供应商select * from po_vendors--employee_id:供应商和员工关联的字段--vendor_type_lookup...
分类:其他好文   时间:2014-06-11 22:52:26    阅读次数:377
leetcode--Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST./** * Definition for binary tree * public class TreeN...
分类:其他好文   时间:2014-06-11 21:58:10    阅读次数:300
【转】js中select的基本操作
判断select选项中是否存在Value="paraValue"的Item// 1.判断select选项中 是否存在Value="paraValue"的Item function jsSelectIsExitItem(objSelect, objItemValue) { ...
分类:Web程序   时间:2014-06-11 12:18:45    阅读次数:191
count(*)
count(*)是否能用到索引,用索引是高效还是低效select count(*) from aa ;首先看是否会走索引,经过试验发现,他没有走索引它的执行计划 select statement sort aggregate table access full别说是否高效了,他连索引都没有走,索引不...
分类:其他好文   时间:2014-06-11 12:00:01    阅读次数:282
java.io.ByteArrayOutputStream 源码分析
成员变量buf是存储数据的缓冲区 count是缓冲区中的有效字节数。 /** * The buffer where data is stored. */ protected byte buf[]; /** * The number of valid byte...
分类:编程语言   时间:2014-06-11 11:03:44    阅读次数:269
数据集的使用
DataSet ds=new DataSet();//创建数据集--就是数据库,在内存中 string sql="select * from studnet"; string connStr="Data Source=.;Initial Catalo...
分类:其他好文   时间:2014-06-11 10:55:17    阅读次数:881
KendoUI系列:ComboBox
1、基本使用 1>、创建Input 效果预览: 设置初始化时选中项:var color = $("#color").data("kendoComboBox");color.select(1); // 设置初始化时选中项,索引从0开始。 获取当前选中项Value值:var color = ...
分类:其他好文   时间:2014-06-11 10:43:36    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!