Andrew's Garage

Shrunk Expand

Primary Navigation

DB별 함수 비교

isnull => DB2 COALESCE

strcat = > || 로 묶기

 

 

MySQL:
— Convert the current date to YYYYMM format
  SELECT DATE_FORMAT(NOW(), ‘%Y%m’);

DB2:
— Convert the current date to YYYYMM format
  SELECT VARCHAR_FORMAT(CURRENT_DATE, ‘YYYYMM’) FROM sysibm.sysdummy1;

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related


Posted on 2014-08-05 9:56 PM by andrew Comment
📂This entry was posted in 일상

Related Posts

  • 2015-01-18 andrew

    명언

    진정으로 만족하는 유일한 길은 당신이 위대한 일이라고 믿는 일을 하는 걸이다. 위대한 일을 하는 유일한 길은 당신이 사랑하는 일을 하는 것이다. 사랑하는 사람을 찾듯 사랑하는 일을...
  • 2014-08-07 andrew

    이순신의 '통찰력'과 '긍정의 용기'… 일부당경(一夫當逕)과 상유십이(尙有十二)

    이순신은 흩어진 군사를 모으고 전선을 정비하면서 1척을 추가한 13척으로 승리할 수 있는 지형을 찾아 나섰다. 그때 이순신의 통찰력이 발휘했다. 그가 상상한 곳은 큰 바다, 넓은...
« ECLPISE가 이상 동작 할때 [펌] [UNITY] UI 해상도 대응하기! »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

( optional )


©2025 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme