摘要: bit 整型 bit数据类型是整型,其值只能是0、1或空值。这种数据类型用于存储只有两种可能值的数据,如Yes 或No、True 或False 、On 或Off. 注意:很省空间的一种数据类型,如果能够满足需求应该尽量多用。tinyint 整型 tinyint 数据类型能存储从0到2... 阅读全文
posted @ 2015-08-27 11:26 刘小吉 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 DATEDIFF函数计算两个日期之间的小时、天、周、月、年等时间间隔总数 3 语法 DATEDIFF(interval, date1, date2[, firstdayofweek[, firstweekofyear]]) 4 interval 参数的设定值如下 5 ... 阅读全文
posted @ 2015-08-27 09:31 刘小吉 阅读(908) 评论(0) 推荐(0) 编辑