Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Is this possible NULL AS Placeholder
Hi,
I ' ve to port code from SQL Anywhere to ORACLE.
They used a NULL as placeholder. How can I do that in ORACLE.
create or replace view
v_angebot_teilangebot(mandant,
abteilung,
periodentyp,
periode,
angebot,
teilangebot,
angebotsstruktur)
as select angebot_teilangebot.mandant,
angebot_teilangebot.abteilung,
angebot.periodentyp,
angebot.periode,
angebot_teilangebot.angebot,
angebot_teilangebot.teilangebot,
null // IS THIS POSSIBLE IN ORACLE ?
from angebot
,angebot_teilangebot
where(angebot_teilangebot.mandant=angebot.mandant)
and(angebot_teilangebot.abteilung=angebot.abteilung)
and(angebot_teilangebot.angebot=angebot.angebot)
union select angebot.mandant,
angebot.abteilung, angebot.periodentyp, angebot.periode, angebot.angebot,
IF I TRY THIS, IM GETTIG :
null
*
ORA-01790: expression must have same datatype as corresponding expression
Thanks in advance
Eric Received on Wed Nov 04 1998 - 02:03:05 CST