Programming with Talha Tanweer
Asp.net
Ado.net
C#
Sql
Entity Framework
Articles
Question & answers
Forums
How to
Thursday, 6 March 2014
Select Last Date of Current year in Sql Server
SELECT
DATEADD
(
yy
,
DATEDIFF
(
yy
,
0
,
getdate
())
+
1
,
-
1
)
AS
LastDateOfYear
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment