hallo zusammen
ich suche ein decode statement (oracle) das nicht einfach wenn wert x eingetragen gib wert y aus macht, sondern einfach gib das wo im feld x definiert ist aus.
also nicht: decode(Feld1,'x','x','nicht x').......
(wenn "x" in Feld1 steht gib "x" aus ansonten gib "nicht x" aus)
ich brauche aber ein statemend
decode('Feld1','','ist leer')......
(also gib wert aus Feld1 aus wenn das Feld1 leer ist, gib "ist leer" aus)
wie mache ich das? muss ich im decode statement immer definieren wenn im Feld1 das steht gib das auch aus? kann ich nicht definieren egal was in Feld1 steht gib es aus und ansonsten schreib "ist leer"????
vielen dank
ich suche ein decode statement (oracle) das nicht einfach wenn wert x eingetragen gib wert y aus macht, sondern einfach gib das wo im feld x definiert ist aus.
also nicht: decode(Feld1,'x','x','nicht x').......
(wenn "x" in Feld1 steht gib "x" aus ansonten gib "nicht x" aus)
ich brauche aber ein statemend
decode('Feld1','','ist leer')......
(also gib wert aus Feld1 aus wenn das Feld1 leer ist, gib "ist leer" aus)
wie mache ich das? muss ich im decode statement immer definieren wenn im Feld1 das steht gib das auch aus? kann ich nicht definieren egal was in Feld1 steht gib es aus und ansonsten schreib "ist leer"????
vielen dank
Comment