case when query sql dalam oracle | java php laravel linux mysql sql bootstrap html css query java php laravel linux mysql sql bootstrap html css query: case when query sql dalam oracle

Thursday, August 30, 2012

case when query sql dalam oracle

case when di oracle

 

Bismillah

[sourcecode language="sql"]CASE WHEN (ENGINE_NO IS NULL) THEN
CASE WHEN (SUBSTR(TYPECODE,1,2) = 'FA' OR SUBSTR(TYPECODE,1,2) = 'DG'
OR SUBSTR(TYPECODE,1,2) = 'DH' OR SUBSTR(TYPECODE,1,2) = 'DJ') THEN 'MLH'|| '' || FRAME_NO
ELSE 'MH1'|| '' || FRAME_NO END
ELSE FRAME_NO1 || '' || FRAME_NO
END AS FRAMENUMBERFULL[/sourcecode]



Alhamdulillah

No comments:

Post a Comment

saifiahmada.com adalah blog belajar programming Indonesia, membahas lengkap materi bahasa pemrograman: code HTML, CSS, Bootstrap, Desain, PHP, MySQL, coding Java, Query, SQL, dan dunia linux