--显示所有用户表:--1SELECT SCHEMA_NAME(schema_id) As
SchemaName , name As TableName from sys.tables ORDER BY name--2。alternate:SELECT
sch.name As Schem...
分类:
数据库 时间:
2014-05-20 01:49:29
阅读次数:
735
If we define Servlet filters in web.xml, then
the order of execution of the filters will be the same as the order in which
they are defined in the web...
分类:
其他好文 时间:
2014-05-19 23:07:40
阅读次数:
352
写了个简单的规则引擎,普通情况够用了:比如2家公司有各自的利率计算规则,如下:在C#方面,没有写在C#的业务逻辑代码中,而是移到了外部规则文件中,如(ACompanyRatePolicy.r):rule
"Level 1" when alreadyCostPrice >= 0 ...
分类:
其他好文 时间:
2014-05-19 22:32:33
阅读次数:
350
代码SELECT A.*FROM( SELECT ROW_NUMBER()
OVER(PARTITION BY Host ORDER BY Host,count(EntranceURL) DESC) AS ROW, Host,
EntranceURL as PageURL ...
分类:
数据库 时间:
2014-05-19 09:12:59
阅读次数:
338
Activity转场动画
Activity的转场动画是通过overridePendingTransition(int enterAnim, int exitAnim)实现的。
这个方法是API Level 5 加入的。 这个方法在startActivity(Intent)orfinish()之...
分类:
移动开发 时间:
2014-05-17 14:38:41
阅读次数:
327
声明
17、推荐一行一个声明,因为这样有利于写注释。换句话说,下面的声明方法中,
int level; // indentation level
int size; // size of table
要优于:
int level, size;
绝对不要将变量和方法的声明放在同一行,例如:
long dbaddr, getDbaddr(); // WRONG!不要将不同类型的变量的声明放...
分类:
编程语言 时间:
2014-05-16 02:48:50
阅读次数:
244
史前 那时候每个数据库供应商(其实也没几个) 都有自己的数据库操作API,
每个应用程序只能使用一个固定的数据库 想换数据库?没门!你要全部重新写后来 X/OPEN和ISO(好像还有IBM)说 这么乱,程序员怎么活啊
于是提出了CLI(Call-Level Interface) 每个数据库的CLI(...
分类:
数据库 时间:
2014-05-16 00:37:26
阅读次数:
362
原题:
题目解析:这个问题的实质是要我们按成访问二叉树的结点,并返回每层访问的结果,这里要求走Z字,其实就是一行正向一行反向。
/*
the kernel idea is visit a binary search tree in level and
the additional work we have to label the end of one level.
*/
v...
分类:
其他好文 时间:
2014-05-15 23:18:46
阅读次数:
515
Row_number配合over(partition by xx order by xx) 与
Group by 的区别, = order + group?SqlBulkCopyGuidance Automation Toolkit 2010
Reference
分类:
其他好文 时间:
2014-05-15 20:39:55
阅读次数:
249
目录(?)[+]
部分摘自《Linux System Programming 》作者: Robert Love
刘建文略译(http://blog.csdn.net/keminlau)
KEY:系统论 系统编程
System Programming
过去的Unix编程是没有系统不系统之分的。即便是开发 X Window也是在系统级(system-level...
分类:
其他好文 时间:
2014-05-15 19:37:44
阅读次数:
263