新增文章
文章标题
分类
C#
云星空
K3 BOS
K3 功能
用友
Oracle
python
SQL
MySql
PHP
HTML
script
windows
Access
影视后期
财务
服务
生活
内容
declare @FDateTxt12 nvarchar(100) = ''; select @FDateTxt12 = (case when @FDateSatrt = '' then '' else 'and convert(date ,a1.FDate) >= convert(date ,'''+ @FDateSatrt +''')' end); declare @FDateTxt22 nvarchar(100) = ''; select @FDateTxt22 = (case when @FDateSatrt = '' then '' else 'and convert(date ,a1.FDate) <= convert(date ,'''+ @FDateEnd +''')' end); where convert(date ,a1.FDate) >= convert(date ,isnull(a2.F_DateStart ,'2001-1-1'))
返回
保存