DB2 9.7 FP 6
Windows Server 2008 R2
We recently changed from DB2 9.1 to 9.7. On DB2 9.1 the command
SELECT MONTHNAME(CURRENT DATE) FROM SYSIBM.SYSDUMMY1
gave the name of the month in Spanish. After the upgrade it changed to English.
We made a offline backup on 9.1 and a restore on 9.7. The configuration of the database hasn't changed.
Actual configuration of the database:
Database territory = Lat
Database code page = 1252
Database code set = IBM-1252
Database country/region code = 3
I found that
SELECT MONTHNAME(CURRENT DATE, 'CLDR 1.5:es_ES') FROM SYSIBM.SYSDUMMY1
gives the name of the month in Spanish.
Is there an easier way?
Thanks in advance.
Windows Server 2008 R2
We recently changed from DB2 9.1 to 9.7. On DB2 9.1 the command
SELECT MONTHNAME(CURRENT DATE) FROM SYSIBM.SYSDUMMY1
gave the name of the month in Spanish. After the upgrade it changed to English.
We made a offline backup on 9.1 and a restore on 9.7. The configuration of the database hasn't changed.
Actual configuration of the database:
Database territory = Lat
Database code page = 1252
Database code set = IBM-1252
Database country/region code = 3
I found that
SELECT MONTHNAME(CURRENT DATE, 'CLDR 1.5:es_ES') FROM SYSIBM.SYSDUMMY1
gives the name of the month in Spanish.
Is there an easier way?
Thanks in advance.