Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
1 result tagged to_char  ✕
Pense bete sur le numéro de la semaine en Oracle. https://forums.oracle.com/forums/thread.jspa?threadID=960447
Fri Jan 4 00:07:02 2013 archive.org
QRCode
thumbnail

SELECT TO_CHAR(to_date('07/01/2013', 'dd/mm/yyyy'), 'WW') AS WEEK FROM dual;
-- renvoie 01 ce qui est faut d'après nos calendriers
-- car "WW: Week of year (1-53) where week 1 starts on the first day of the year and continues to the seventh day of the year"

SELECT TO_CHAR(to_date('07/01/2013', 'dd/mm/yyyy'), 'IW') AS WEEK FROM dual;
-- 02 est vrai, la on utilise "ISO WEEK" et donc le numéro de la semaine selon les normes ISO.

oracle to_char sysdate ww iw
4756 links, including 1670 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn