sql查询
请用sql语句查询一个月中的天数 --------------------编程问答-------------------- 晕~~这都用sql来做,没听微软说吗别总是想跟数据库打交道 --------------------编程问答-------------------- [code=SQL]declare @date as datetime
select @date = '2007-1-31'
select 32-Day(@date+(32-Day(@date)))code] --------------------编程问答--------------------
@date as datetime--------------------编程问答--------------------
select @date = '2007-1-31'
select 32-Day(@date+(32-Day(@date)))
--怎么总贴一半,怒--------------------编程问答-------------------- UP
declare @date as datetime
select @date = getdate()
select 32-Day(@date+(32-Day(@date)))
补充:.NET技术 , 其他语言