摘要: 题目 :使用存储过程统计某一时间段内各种图书借阅人数,要求:如果没有指定起始日期,就以前一个月当日作为起始日期,如果没有指定截止日期,就以当日作为截止日期. 1 if exists(select * from sysobjects where name = 'usp_searchLendInfo') 2 drop procedure usp_searchLendInfo 3 go 4 create procedure usp_searchLendInfo 5 @startDate datetime = null, 6 @endDate datetime =null 7 as 8 阅读全文
posted @ 2012-02-09 17:55 ×jokey 阅读(22369) 评论(0) 推荐(1) 编辑