2011年10月19日水曜日

日付取得 getdate()

SQL Server 日付取得関数

 getdate()


ついでに、

 Year(getdate())
 Month(getdate())

などで年・月など取得できます。