I have to find the Name of a particular DATE (like Sunda开发者_运维知识库y, Monday etc.) in past.
Suppose I have to find Day Name on2000-1-1
How can I find that ?You can use DATENAME
function of SQL Server, like this
SELECT DATENAME(dw,'2000-1-1')
I have to find the Name of a particular DATE (like Sunda开发者_运维知识库y, Monday etc.) in past.
Suppose I have to find Day Name on2000-1-1
How can I find that ?You can use DATENAME
function of SQL Server, like this
SELECT DATENAME(dw,'2000-1-1')
上一篇:北京欢迎你是谁写的呢??
怜开头的成语有哪些??:下一篇
精彩评论