Re: JavaScript-Informix... HELP!!!
Posted in 1998
Volker Fraenkle — — source: Informix-list mailing list archive (1991-1998)
Hi norli,
if emp is decimal or integer, INFORMIX translate your string '000' to
number '0'.
Yours Volker
norli schrieb:
> If I enter 0 at the login screen and submit, it'll bring me the
> admin.htm page.
> If I enter 000 at the login screen and submit, it'll also bring me the
> admin.htm page.
>
> From dbaccess, if I query
>
> SELECT * FROM staff WHERE emp='000'>
> The info for emp=0 is displayed. Strange...? HELP!!!!
>
> Thanks in advance.
>
> :-( norli
--
Volker Fraenkle E-Mail: VFraenkle@cs-controlling.de
CS Controlling Phone: +49 7144 8144-0
Software Systeme GmbH Fax: +49 7144 8144-10
Riedbachstrasse 5
74385 Pleidelsheim