代码虽少,功能却不小啊。希望.net 3.0也能像这样动起来。
1SELECT DISTINCT CASE WHEN BeginTime >@BeginDate THEN Day(BeginTime) ELSE Day(EndTime) END [Day] FROM [VideoFile] WHERE ClientKey =@ClientKey AND EndTime >= @BeginDate AND BeginTime <= @EndDate
2
2
代码虽少,功能却不小啊。希望.net 3.0也能像这样动起来。