Adding Hours to Date in Oracle

SELECT
TO_DATE( 
TO_CHAR(MIN (HAREKET_TARIHI) || ’21:00:00′),
‘DD.MM.RRRR HH24:MI:SS’)
  FROM DAVAY_DAVAY KH
 WHERE     KOBI_NO = ‘O0BACJHA’
       AND HAREKET_NO= 19
       AND HAREKET_TIPI = 1
       AND FL_DURUM = 1
       AND SUBE_KOD = ‘0341’
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: