RE: Should this work??
Posted in 2000
That's pretty bizarre all right. I get identical results here (HP-UX
10.20 IDS7.31.UC5).
But I guess the real question is; Why would you ever need to run a query
like that?
-----Original Message-----
From: Paul Watson [mailto:PWatson@Lastminute.com]
Sent: Friday, March 31, 2000 3:14 AM
Posted To: informix
Conversation: Should this work??
Subject: Should this work??
select *
from table
where 'literalstring1' in ('literalstring1');
errors with character to numeric, however
select *
from table
where 'literalstring1' in ('literalstring1', 'literalstring1');
works fine.
Making the literalstring a numeric, keeping the quotes, works fine
in both cases.
BTW Sun E450/Solaris2.6/IDS7.31.UC4
Paul Watson #
WFSoftware Ltd # If it was easy
Tel: +44 1436 674729 # everybody could it
Fax: +44 1436 678693 # do it
www.wfsoftware.com/informix #