Diger katagorilere dahil olmayan Oracle fonksiyonlarıdır.Bu fonksiyonlar ;

NVL Fonksiyonu
NVL(x,y) fonksiyonu x’in degeri NULL ise y’yi ,x’in degeri NULL degilse x’i verir.

* SQL> SELECT NVL(‘Mustafa’,’Bektas’) FROM DUAL;
Dönen_Deger
Mustafa
* SQL> SELECT NVL(NULL,’Bektas’) FROM DUAL;
Dönen_Deger
Bektas

NVL2 Fonksiyonu
NVL2(x,y,z) fonksiyonu x’in degeri NULL ise z’yi,NULL degilse y’yi verir.

* SQL> SELECT NVL2(‘Mustafa’,’Bektas’,’Tepe’) FROM DUAL;
Dönen_Deger
Bektas

(continue reading…)

Loading