Guest_imported
New member
- Jan 1, 1970
- 0
How can I return the last 2 digits of the year into a variable?
SELECT DATEPART(yy, GETDATE()) ---> returns 2001 ... I only want 01 returned.
Thx,
BT
SELECT DATEPART(yy, GETDATE()) ---> returns 2001 ... I only want 01 returned.
Thx,
BT