i'm possible
SELECT RIGHT(CAST(1000+ DATEPART(yy, GetDate())-1911 AS CHAR(4)),3) + RIGHT(CAST(100 + DATEPART(MM, GetDate()) AS CHAR(3)),2) + RIGHT(CAST(100 + DATEPART(DD, GetDate()) AS CHAR(3)),2) AS ToDay
沒有留言:
張貼留言