Focal Point
Like and Missing; IS-NOT and NOT
June 03, 2008, 06:29 AM
nubiLike and Missing; IS-NOT and NOT
Hi All,
Cna anybody tell me why when you are using MISSING you have to use IS-NOT and when you are using LIKE you have to use NOT?
NOT LIKE ''
IS-NOT MISSING
it got me confused just now because i had used IS-NOT LIKE '' thinking it would be the same as it is for MISSING but it isn't.
anyone know why? seems an odd inconsistancy...
Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
June 03, 2008, 07:30 AM
jsn22Hi,
IS MISSING Command is equal to IS NULL Command in Oracle.
IS-NOT MISSING is equal to IS NOT NULL Command in Oracle.
I think now you will get clear idea about the differences.
Thanks,
Senthil
WebFOCUS version 8.1.05
Windows 10
June 03, 2008, 09:00 AM
Danny-SRLNubi,
IS is synonym for EQ
IS-NOT is synonym for NE
When using MISSING IS and IS-NOT is more readable than EQ and NE
LIKE is a different operator which can be inversed (negated) with NOT.
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
June 03, 2008, 10:41 AM
nubiquote:
Originally posted by jsn22:
Hi,
IS MISSING Command is equal to IS NULL Command in Oracle.
IS-NOT MISSING is equal to IS NOT NULL Command in Oracle.
I think now you will get clear idea about the differences.
Thanks,
Senthil
Thanks for your reply Senhill but that wasn't what i had originally asked.
Danny,
I understand why EQ isn't used and that LIKE is a different operator but i would have thought that the same would follow for LIKE as grammatically .
WHERE FIELD IS MISSING
WHERE FIELD IS-NOT MISSING
WHERE FIELD IS LIKE
WHERE FIELD IS-NOT LIKE
are the same- if its more readable for MISSING the same must be true of LIKE- either way doesn't bother me but i expected them to be consistant. either sticking with NOT or IS-NOT for both.
what does everyone else think?
Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
June 04, 2008, 04:20 AM
hammo1jThis all sounds a bit like teenager speak
LIKE IT IS-NOT. WHAT ARE U MISSING? LIKE U ARE SO NOT.
Gerry
In the same vein: Can we have 'WHATEVER' as a synonym for ELSE soon.
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
June 04, 2008, 06:06 AM
nubiYeah, i must have the 'Valley-Girl' edition of WF
Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor