I am just converting a system from ORACLE to SQLServer 2000.
We have a lot of sql statements in ORACLE syntax that use the to_char(date,IYYY) and to_char(date,IW) to bring back the ISO year and week number.
In ORACLE, using to_char, IYYY & IW do give different results to YYYY and WW around a calendar year end/start.
In SQLServer do functions such as
datepart(yy,date)
datename(YY,date)
YEAR(date)
bring back an ISO year ?
We have a lot of sql statements in ORACLE syntax that use the to_char(date,IYYY) and to_char(date,IW) to bring back the ISO year and week number.
In ORACLE, using to_char, IYYY & IW do give different results to YYYY and WW around a calendar year end/start.
In SQLServer do functions such as
datepart(yy,date)
datename(YY,date)
YEAR(date)
bring back an ISO year ?