Wednesday, March 18, 2009
Return last date of the current month using sql
SELECT datepart(dd,DateAdd(day, -1, DateAdd(month, DateDiff(month, 0, getdate())+1, 0))) AS Dateval
Subscribe to:
Post Comments (Atom)
Help related asp.net using C# coding,Sql help, using javascript help, code for asp.net using c# and Interview quation of asp.net using c#,how execute sql query help and using javascript help and general computer help
No comments:
Post a Comment