And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE
upper(NVL(:vNacc,:vNacc ||'%'))
And NVL(upper(TO_CHAR(FS...
upper(NVL(:vSegment2,:vSegment2 ||'%'))
And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE
upper(NVL(:vSegment3,:v...
And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE
upper(NVL(:vSegment9,:vSegment9||'%'))
And NVL(upper(TO_CHAR(FS...
And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE
upper(NVL(:vNacc,:vNacc ||'%'))
And NVL(upper(TO_CHAR(FS...
Nächste SlideShare
Wird geladen in …5
×

Nvl query example

105 Aufrufe

Veröffentlicht am

Nvl query example

Veröffentlicht in: Bildung
0 Kommentare
0 Gefällt mir
Statistik
Notizen
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Keine Downloads
Aufrufe
Aufrufe insgesamt
105
Auf SlideShare
0
Aus Einbettungen
0
Anzahl an Einbettungen
3
Aktionen
Geteilt
0
Downloads
0
Kommentare
0
Gefällt mir
0
Einbettungen 0
Keine Einbettungen

Keine Notizen für die Folie

Nvl query example

  1. 1. And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE upper(NVL(:vNacc,:vNacc ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.PERIOD_NAME)),0) LIKE upper(NVL(:vPeriod,:vPeriod ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.LEDGER_ID)),0) LIKE upper(NVL(:vLedgerId,:vLedgerId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.RANGESETCODE)),0) LIKE upper(NVL(:vRangeSetId,:vRangeSetId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT1)),0) LIKE upper(NVL(:vSegment1,:vSegment1 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT2)),0) LIKE upper(NVL(:vSegment2,:vSegment2 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE upper(NVL(:vSegment3,:vSegment3 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT4)),0) LIKE upper(NVL(:vSegment4,:vSegment4 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT5)),0) LIKE upper(NVL(:vSegment5,:vSegment5 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT6)),0) LIKE upper(NVL(:vSegment6,:vSegment6||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT7)),0) LIKE upper(NVL(:vSegment7,:vSegment7||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT8)),0) LIKE upper(NVL(:vSegment8,:vSegment8||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE upper(NVL(:vSegment9,:vSegment9||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT10)),0) LIKE upper(NVL(:vSegment10,:vSegment10||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT11)),0) LIKE upper(NVL(:vSegment11,:vSegment11||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT12)),0) LIKE upper(NVL(:vSegment12,:vSegment12||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT13)),0) LIKE upper(NVL(:vSegment13,:vSegment13||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT14)),0) LIKE upper(NVL(:vSegment14,:vSegment14||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT15)),0) LIKE upper(NVL(:vSegment15,:vSegment15||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT16)),0) LIKE upper(NVL(:vSegment16,:vSegment16||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE upper(NVL(:vNacc,:vNacc ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.PERIOD_NAME)),0) LIKE upper(NVL(:vPeriod,:vPeriod ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.LEDGER_ID)),0) LIKE upper(NVL(:vLedgerId,:vLedgerId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.RANGESETCODE)),0) LIKE upper(NVL(:vRangeSetId,:vRangeSetId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT1)),0) LIKE upper(NVL(:vSegment1,:vSegment1 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT2)),0) LIKE
  2. 2. upper(NVL(:vSegment2,:vSegment2 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE upper(NVL(:vSegment3,:vSegment3 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT4)),0) LIKE upper(NVL(:vSegment4,:vSegment4 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT5)),0) LIKE upper(NVL(:vSegment5,:vSegment5 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT6)),0) LIKE upper(NVL(:vSegment6,:vSegment6||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT7)),0) LIKE upper(NVL(:vSegment7,:vSegment7||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT8)),0) LIKE upper(NVL(:vSegment8,:vSegment8||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE upper(NVL(:vSegment9,:vSegment9||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT10)),0) LIKE upper(NVL(:vSegment10,:vSegment10||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT11)),0) LIKE upper(NVL(:vSegment11,:vSegment11||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT12)),0) LIKE upper(NVL(:vSegment12,:vSegment12||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT13)),0) LIKE upper(NVL(:vSegment13,:vSegment13||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT14)),0) LIKE upper(NVL(:vSegment14,:vSegment14||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT15)),0) LIKE upper(NVL(:vSegment15,:vSegment15||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT16)),0) LIKE upper(NVL(:vSegment16,:vSegment16||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE upper(NVL(:vNacc,:vNacc ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.PERIOD_NAME)),0) LIKE upper(NVL(:vPeriod,:vPeriod ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.LEDGER_ID)),0) LIKE upper(NVL(:vLedgerId,:vLedgerId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.RANGESETCODE)),0) LIKE upper(NVL(:vRangeSetId,:vRangeSetId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT1)),0) LIKE upper(NVL(:vSegment1,:vSegment1 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT2)),0) LIKE upper(NVL(:vSegment2,:vSegment2 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE upper(NVL(:vSegment3,:vSegment3 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT4)),0) LIKE upper(NVL(:vSegment4,:vSegment4 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT5)),0) LIKE upper(NVL(:vSegment5,:vSegment5 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT6)),0) LIKE upper(NVL(:vSegment6,:vSegment6||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT7)),0) LIKE upper(NVL(:vSegment7,:vSegment7||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT8)),0) LIKE upper(NVL(:vSegment8,:vSegment8||'%'))
  3. 3. And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE upper(NVL(:vSegment9,:vSegment9||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT10)),0) LIKE upper(NVL(:vSegment10,:vSegment10||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT11)),0) LIKE upper(NVL(:vSegment11,:vSegment11||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT12)),0) LIKE upper(NVL(:vSegment12,:vSegment12||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT13)),0) LIKE upper(NVL(:vSegment13,:vSegment13||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT14)),0) LIKE upper(NVL(:vSegment14,:vSegment14||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT15)),0) LIKE upper(NVL(:vSegment15,:vSegment15||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT16)),0) LIKE upper(NVL(:vSegment16,:vSegment16||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE upper(NVL(:vNacc,:vNacc ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.PERIOD_NAME)),0) LIKE upper(NVL(:vPeriod,:vPeriod ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.LEDGER_ID)),0) LIKE upper(NVL(:vLedgerId,:vLedgerId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.RANGESETCODE)),0) LIKE upper(NVL(:vRangeSetId,:vRangeSetId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT1)),0) LIKE upper(NVL(:vSegment1,:vSegment1 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT2)),0) LIKE upper(NVL(:vSegment2,:vSegment2 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE upper(NVL(:vSegment3,:vSegment3 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT4)),0) LIKE upper(NVL(:vSegment4,:vSegment4 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT5)),0) LIKE upper(NVL(:vSegment5,:vSegment5 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT6)),0) LIKE upper(NVL(:vSegment6,:vSegment6||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT7)),0) LIKE upper(NVL(:vSegment7,:vSegment7||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT8)),0) LIKE upper(NVL(:vSegment8,:vSegment8||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE upper(NVL(:vSegment9,:vSegment9||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT10)),0) LIKE upper(NVL(:vSegment10,:vSegment10||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT11)),0) LIKE upper(NVL(:vSegment11,:vSegment11||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT12)),0) LIKE upper(NVL(:vSegment12,:vSegment12||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT13)),0) LIKE upper(NVL(:vSegment13,:vSegment13||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT14)),0) LIKE upper(NVL(:vSegment14,:vSegment14||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT15)),0) LIKE upper(NVL(:vSegment15,:vSegment15||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT16)),0) LIKE upper(NVL(:vSegment16,:vSegment16||'%'))
  4. 4. And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.NATURAL_ACCOUNT)),0) LIKE upper(NVL(:vNacc,:vNacc ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.PERIOD_NAME)),0) LIKE upper(NVL(:vPeriod,:vPeriod ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.LEDGER_ID)),0) LIKE upper(NVL(:vLedgerId,:vLedgerId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.RANGESETCODE)),0) LIKE upper(NVL(:vRangeSetId,:vRangeSetId ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT1)),0) LIKE upper(NVL(:vSegment1,:vSegment1 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT2)),0) LIKE upper(NVL(:vSegment2,:vSegment2 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT3)),0) LIKE upper(NVL(:vSegment3,:vSegment3 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT4)),0) LIKE upper(NVL(:vSegment4,:vSegment4 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT5)),0) LIKE upper(NVL(:vSegment5,:vSegment5 ||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT6)),0) LIKE upper(NVL(:vSegment6,:vSegment6||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT7)),0) LIKE upper(NVL(:vSegment7,:vSegment7||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT8)),0) LIKE upper(NVL(:vSegment8,:vSegment8||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT9)),0) LIKE upper(NVL(:vSegment9,:vSegment9||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT10)),0) LIKE upper(NVL(:vSegment10,:vSegment10||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT11)),0) LIKE upper(NVL(:vSegment11,:vSegment11||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT12)),0) LIKE upper(NVL(:vSegment12,:vSegment12||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT13)),0) LIKE upper(NVL(:vSegment13,:vSegment13||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT14)),0) LIKE upper(NVL(:vSegment14,:vSegment14||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT15)),0) LIKE upper(NVL(:vSegment15,:vSegment15||'%')) And NVL(upper(TO_CHAR(FSG_GL_GCC_BAL_BS.SEGMENT16)),0) LIKE upper(NVL(:vSegment16,:vSegment16||'%'))

×