decode in oracle

Senin, 10 Februari 2014

I had a SQL query and I forgot how to put calculated content in the output.  Yes, you can use the "DECODE" function and it works great.


SELECT FLD1,FLD2, DECODE("FLD1"="JED","CLAMPETT") FROM TABLE_HILLBILLY

Related Posts by Categories

0 komentar:

Posting Komentar

Copyright © 2010-2022 Kabar Blog | Powered By Blogger