1、LEN() 函数LEN 函数返回文本字段中值的长度。SQL LEN() 语法SELECT
LEN(column_name) FROM table_name在Oracle中对应的是length()函数。2、
分类:
数据库 时间:
2014-06-04 21:33:54
阅读次数:
260
今天看到一篇文章介绍2012中的分页,就想测试一下新的分页方法比原先的有多少性能的提升,下面是我的测试过程(2012的分页语法这里不在做多的说明,MSDN上一搜就有):
首先我们来构造测试数据: --建表CREATE TABLE [dbo].[MyCustomer]( [id] [int] ...
分类:
数据库 时间:
2014-06-04 19:14:47
阅读次数:
317
1.复制新表结构及数据到新表create table 新表 select * from
旧表2.只复制表结构到新表create table 新表 select * from 旧表 where
1=23.复制旧表的数据到新表(假设两个表结构一样)insert into 新表 select * fr.....
分类:
数据库 时间:
2014-06-04 19:08:52
阅读次数:
280
goldengate–使用filter+@GETENV在线重新初始化指定的table转载:http://www.easyora.net/blog/using_filter_getenv_function_to_initialize_special_table.html
在oracle-oracle ...
分类:
其他好文 时间:
2014-06-04 18:49:40
阅读次数:
550
1 innodb 自增列出现重复值的问题 先从问题入手,重现下这个buguse test;drop
table t1;create table t1(id int auto_increment, a int, primary key (id))
engine=innodb;insert into t...
分类:
数据库 时间:
2014-06-03 13:24:55
阅读次数:
503
在mysql 控制台当当为gbk的时候查询的数据是汉字,假设不是则为乱码。 set names
gbk; 那么查询出来的数据则为汉字
分类:
数据库 时间:
2014-06-03 13:05:18
阅读次数:
294
DECLARE @SOInfoList TABLE ( SONumber INT, SODate
datetime, Status char(1) ) INSERT INTO @SOInfoList ( SONumber, SODate, ...
分类:
数据库 时间:
2014-06-03 13:02:04
阅读次数:
295
UITableView删除分组最后一个元素,需要把分组同时删除。1.首先在数据源上删除数据。2.UI上删除cell:[tableView
deleteRowsAtIndexPaths:[NSArrayarrayWithObject:indexPath]
withRowAnimation:UITa.....
分类:
其他好文 时间:
2014-06-03 12:23:40
阅读次数:
206
Read Table 的语法很多,这里说一种特殊情况,Read Table
中查询的时候对标准内表经常有一种二分优化查找,用Binary
search的时候首先必须要有查询条件;但如果查询条件满足的项目不至一条时,这时得到的是这些数据中索引排在最前面的数据; 如: 001 0001
2010010....
分类:
其他好文 时间:
2014-06-03 12:06:45
阅读次数:
224
Hash functionFrom Wikipedia, the free
encyclopediaA hash function that maps names to integers from 0 to 15. There is a
collision between keys "John Sm...
分类:
其他好文 时间:
2014-05-29 15:10:45
阅读次数:
864