Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> JOINS !
Someone knows if the equivalent to this sentence in SQLSERVER ....
create view oscar as select
A.GERIDENTI, A.STATDT, A.FEVEDT, A.TAUXDT, A.CAUXDT, A.CCIADT, A.TIPLDT, A.CUENDT, A.CLDODT, A.NDOCDT, A.SAPRDT, A.TICODT, A.NUCODT, A.SIMIDT, A.G3NCDT, B.STAT32, B.FEVE32, C.CCIAMG
isnull(A.STATDT, ' ') = 'E' and
isnull(A.TAUXDT, ' ') <> ' ' and isnull(A.FEVEDT, 0) <> 0 and isnull(A.G3NCDT, ' ') <> '2' and isnull(B.STAT32, ' ') <> '2' and isnull(C.CCIAMG, ' ') <> ' '
is this ONE on ORACEL ?
create view oscar as select
A.ID_A as ID_QTSERVIDOR1_GLB03AJ, A.STATDT, A.FEVEDT, A.TAUXDT, A.CAUXDT, A.CCIADT, A.TIPLDT, A.CUENDT, A.CLDODT, A.NDOCDT, A.SAPRDT, A.TICODT, A.NUCODT, A.SIMIDT, A.G3NCDT, B.STAT32, B.FEVE32, C.CCIAMG
A.TAUXDT(+) <> ' ' and A.FEVEDT(+) <> 0 and A.G3NCDT(+) <> '2' and B.STAT32(+) <> '2' and
;
With ORACLE i have a problem !: the information I got on the VIEW is for all the CCIADT from A not for only the ones i have on CCIAMG from C Received on Mon Mar 17 2003 - 11:24:58 CST