摘要: identity属性是依赖于表的,它不是一种独立的序列机制,不能随意使用它生成新值。 标识值是在insert语句执行时生成的,不是在执行之前生成的。 identity属性是以异步的方式分配标识值。这意味着在多个会话中执行的多行插入操作,可能会得到不连续的标识值。 标志值的增加不根据insert语句失败而回滚,即他们不在同一个事务中。 阅读全文
posted @ 2014-02-03 13:35 smart-liu 阅读(531) 评论(0) 推荐(0) 编辑
摘要: http://www.iteye.com/topic/1130290?page=8 阅读全文
posted @ 2013-12-02 22:10 smart-liu 阅读(637) 评论(0) 推荐(0) 编辑
摘要: 程序:指一个静态的指令序列,而进程则是一个容器,其中包含了当执行一个程序特定实例时所用到的各种资源。 阅读全文
posted @ 2013-11-07 14:17 smart-liu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: select s_cid,max(case when num = 1 then zhangwuny else null end) as 账务年月1,max(case when num = 1 then i_xiaofeil else null end) as 消费量1,max(case when num = 1 then i_bencicm else null end) as 本次抄吗1,max(case when num = 1 then d_bencicbrq else null end) as 本次抄表日期1,max(case when num = 2 then zhangwun... 阅读全文
posted @ 2013-05-22 13:15 smart-liu 阅读(159) 评论(0) 推荐(0) 编辑
摘要: intersect语句为交集、minus为前者减去后者union、union all 时 order by 语句必须位于最后一个select后,且order by 语句所指定的第一个查询语句所指列如果有别名,则必须使用alias别名列。all、any(some)语句all相当于对比值大于后者查询的最大值maxany相当于对比值大于后者查询的最小值mincheck contraint约束:对比必须返回为bool值,且对比不能引用其他表或行,且不能与诸如sysdate、userid、oraenv等函数进行比较。view视图可以进行dml操作限制(如果在创建的view结尾处添加with check 阅读全文
posted @ 2013-05-18 21:18 smart-liu 阅读(361) 评论(1) 推荐(0) 编辑
摘要: otn.net develper centerhttp://otn.oracle.com/dotnet 阅读全文
posted @ 2013-04-21 18:31 smart-liu 阅读(160) 评论(1) 推荐(0) 编辑
摘要: string daiChuLBHs = String.Join(",", listSelectedXX.Select(p => p.I_DAICHULBH)); 讲list中指定字段用逗号关联成字符串listSelectedXX.TrueForAll(p => p.S_CID == listSelectedXX[0].S_CID) ; 判断list中指定字段适合全部相同 阅读全文
posted @ 2013-04-09 13:51 smart-liu 阅读(203) 评论(0) 推荐(0) 编辑
摘要: http://mywebsql.net/使用php进行开发 阅读全文
posted @ 2012-10-01 06:56 smart-liu 阅读(301) 评论(0) 推荐(0) 编辑
摘要: odu http://www.laoxiong.net/odu_quick_start.htmlsqluldr2http://www.docin.com/p-42836914.html 阅读全文
posted @ 2012-09-24 23:23 smart-liu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: wcf 4.0 中默认对传输数据大小有限制,为65535 字节。如果数据超过此值需要手动进行设置<basicHttpBinding> <binding name="BasicHttpBinding_ChaoBiaoKZ" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"> <readerQuotas maxArrayLength="2147 阅读全文
posted @ 2012-08-08 17:37 smart-liu 阅读(285) 评论(0) 推荐(0) 编辑