SSRS 2008 R2 課程

課程資料在這,下載

修改AutoComplete下拉選單寬度

AutoCompleteExtender的樣式,若要設定下拉選單的寬度比原本的欄位還要長,

就要修改CSS樣式,如下:

Read the rest of this entry »

日期計算

●上個月的第一天
SELECT DATEADD(mm, DATEDIFF(mm,0,getdate())-1, 0)

●上個月的最后一天
SELECT dateadd(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate()), 0))
select DATEADD(mm, DATEDIFF(mm,0,getdate()), 0)-1

Read the rest of this entry »

   Newer Entries »