Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-00936
BlueHaze_at_web.de (Isabell) wrote in message news:<9e10765d.0208260624.260180cb_at_posting.google.com>...
> Hi,
>
> if I try to execute this SQL-Statement I get the ERROR "Ausdruck fehlt".
> I don`t know what is wrong in this Statement, please help me.
>
> SELECT COUNT(*) AS RECCOUNT FROM
> N_VORGANG,
> N_VORGBETEILIGTE,
> N_ADRESSEN,
> N_BETEILIGTENARTEN,
> N_PERSONENDATEN,
> BERE
> WHERE N_VORGANG.VORGANGSNUMMER=N_VORGBETEILIGTE.VORGANG
> AND N_VORGBETEILIGTE.ADRESSE=N_ADRESSEN.ADRESSNUMMER
> AND N_ADRESSEN.ADRESSNUMMER=N_PERSONENDATEN.ZUORDNUNGSNUMMER (+)
> AND N_ADRESSEN.ADRESSNUMMER= N_BANKVERBINDUNGEN.ZUORDNUNGSNUMMER (+)
> AND N_VORGBETEILIGTE.BETEILIGTENART=N_BETEILIGTENARTEN.BETNUMMER
> AND N_VORGANG.BEREICH=BERE.BRS AND N_VORGANG.MUENDELNR_ALT = HEBUCH.MNR
> AND (+)N_VORGANG.BEREICH = HEBUCH.BEREICH AND BETEILIGTENART=7
> AND N_VORGANG.BEREICH BETWEEN '2000' AND '2100' AND 1=2
> AND (GEBURTSDATUM IS NULL OR GEBURTSDATUM <= ('26.08.2002'))
Write this line
AND (+)N_VORGANG.BEREICH = HEBUCH.BEREICH
AS
AND N_VORGANG.BEREICH (+) = HEBUCH.BEREICH
and then retry.
//Rauf Sarwar Received on Mon Aug 26 2002 - 17:29:09 CDT
![]() |
![]() |