以前写过《IE8的css hack》,ie9一出css
hack也该更新,以前一直没关注,今天在内部参考群mxclion分享了IE9的css hack,拿出来也分享一下:select
{background-color:red\0; /* ie 8/9*/background-color:bl...
分类:
Web程序 时间:
2014-06-06 17:39:28
阅读次数:
234
实验环境:3节点,RHEL6.4 + Vertica
7.0.1实验目的:了解Vertica数据库的date与timestamp数据类型,to_date()与to_timestamp()函数区别构造的实验表中只有10条记录。1.查询表记录数据如下:irnop=>
select start_time ...
分类:
其他好文 时间:
2014-06-06 16:30:47
阅读次数:
514
--减 就写成-1 --月 update 表 set
fhdate=DateAdd(M,-1,fhdate) where ...select dateadd(M,2,getdate()) --天数select
dateadd(day,2,getdate()) --年select dateadd(.....
分类:
其他好文 时间:
2014-06-06 15:11:58
阅读次数:
196
What is Use-Case 2.0?Use Case: A use case is
all the ways of using a system to achieve a particular goal for a particular
user. Takentogether the set ...
分类:
其他好文 时间:
2014-06-06 11:37:46
阅读次数:
236
前面讲到的:insert … select … where not
exist其实好像也是为了实现:插入数据时,如果有重复则不插入。参见:http://snowolf.iteye.com/blog/1568926和INSERT
IGNORE INTO 差不多,不过前者可以自己加条件,后者只能根据主键...
分类:
数据库 时间:
2014-06-06 11:24:15
阅读次数:
327
```cppenum Iter: Int{ case s1=0, s2, s3, s4
mutating func next(){ if self == .s4 { self = .s1 return } ...
分类:
其他好文 时间:
2014-06-06 09:07:38
阅读次数:
215
枚举 使用enum创建枚举——注意 Swift 的枚举可以关联方法: 1 enum Rank:
Int { 2 case Ace = 1 case Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten 3
case Jack, Q...
分类:
其他好文 时间:
2014-06-06 08:30:54
阅读次数:
285
今天来讲解一下sqlserver的存储过程,我一般习惯先从一个最简单的例子开始,然后再介绍他的语法,最后会举出一些常用和典型的存储过程
1.先看一个简单地例子,形成一个印象 假设有这样一张表People 我要写一个登录的存储过程,我们先来看看验证登录的sql语句,非常简单select co...
分类:
数据库 时间:
2014-06-06 08:27:46
阅读次数:
230
select * from zan where uid not in(select uid from
zan where zhongjiang !=0) group by uid order by rand() limit
40不过这个执行效率比较低,正在找更好用的方法
分类:
数据库 时间:
2014-06-06 07:43:48
阅读次数:
469
动态绑定方法一:动态绑定数据库中的字段。SqlConnection conn =
UtilitySqlClass.OperateDataBase.ReturnConn();string strSQL = "select * from
CompanyType";SqlDataAdapter ada =...
分类:
其他好文 时间:
2014-06-06 06:56:34
阅读次数:
302