上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
Oracle中的不等于号 今天碰到一个Oracle不等于的问题,最后搜索了一下,发现下面资料,拿来跟大家分享一下关于Oracle中的不等于号: 在Oracle中, != ~= ^= 都是不等于号的意思。都可以使用。 但是奇怪是的, 我想拿出price不是180000的商品时:(price是Nu... Read More
posted @ 2015-12-02 09:53 longphui Views(400) Comments(0) Diggs(0) Edit
ORACLE中null的排序问题关键字: oracle nulls问题描述: 在平时的业务处理中,经常遇到要对业务数据进行排序,并且要对null值也做相应的排序。在Oracle中,进行Order by排序时缺省认为null是最大值,所以如果是ASC升序则被排在最后,而DESC降序则排在最前。有的时候... Read More
posted @ 2015-11-24 10:06 longphui Views(4685) Comments(0) Diggs(0) Edit
oracle常用的时间格式转换 1:取得当前日期是本月的第几周 SQL> select to_char(sysdate,'YYYYMMDD W HH24:MI:SS') from dual; TO_CHAR(SYSDATE,'YY ------------------- 20030327 4 1... Read More
posted @ 2015-11-23 16:03 longphui Views(686) Comments(0) Diggs(0) Edit
孩子出不出色,取决于妈妈的性格 (建议永久收藏)“每瞬间,你看到孩子,也就看到了自己,你教育孩子,也是在教育自己,并检验自己的人格。”——伟大教育家苏霍姆林斯基有一天,一位身为大学教师的朋友跟我聊起他那上小学三年级的孩子,夫妻两个都是博士,朋友的妻子还是“海龟”,可儿子的成绩是班级倒数第一,他问我为... Read More
posted @ 2015-11-18 09:34 longphui Views(155) Comments(0) Diggs(0) Edit
添加Service Reference, 无法为服务生成代码错误的解决办法我的解决方案是Silverlight+WCF的应用,Done Cretiria定义了需要在做完Service端的代码后首先运行事先定义好的Unit Test,确保在客户端使用Service之前Service是可以正确的运行的。... Read More
posted @ 2015-11-10 11:13 longphui Views(472) Comments(0) Diggs(0) Edit
Oracle CASE WHEN 用法介绍1. CASE WHEN 表达式有两种形式--简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END --Case搜索函数 CASEWHEN sex = '1' TH... Read More
posted @ 2015-11-06 09:05 longphui Views(1076) Comments(0) Diggs(0) Edit
在Web Service中傳送Dictionary有個需求,想在Web Service中傳遞Dictionary參數,例如:排版顯示純文字[WebMethod]public Dictionary Process(Dictionary dct){ //Do something on the Di... Read More
posted @ 2015-10-30 15:15 longphui Views(346) Comments(0) Diggs(0) Edit
C# System.Guid.NewGuid()概念GUID: 即Globally Unique Identifier(全球唯一标识符) 也称作 UUID(Universally Unique IDentifier) 。 GUID是一个通过特定算法产生的二进制长度为128位的数字标识符,用于指示产品... Read More
posted @ 2015-10-29 09:52 longphui Views(288) Comments(0) Diggs(0) Edit
C#中 TrimEnd()用法 ①去除最后的逗号stringstr=ab,cd,ef,;str=str.TrimEnd(newchar[]{','});返回结果则是:ab,cd,ef②去掉日期格式的00:00:00char[]strRemove={'0',':'};lblBirthday.Tex... Read More
posted @ 2015-10-27 17:17 longphui Views(1854) Comments(0) Diggs(0) Edit
Sql Server 跨服务器连接用openrowset连接远程SQL或插入数据--如果只是临时访问,可以直接用openrowset--查询示例select * from openrowset('SQLOLEDB', 'sql服务器名'; '用户名'; '密码', 数据库名.dbo.表名)--导入示... Read More
posted @ 2015-10-27 16:27 longphui Views(277) Comments(0) Diggs(0) Edit
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页