Ross,
Monday, October 07, 2002, 8:14:09 PM, you wrote:

RR> We am having a problem with the encode() and decode() functions.  When
RR> the second argument to the functions is a quoted string, the functions
RR> return values as expected.  When the second argument to the functions is
RR> another function call, i.e. the char() function, encode() and decode()
RR> return SQL syntax errors.

RR> The System is specs are:
RR> Solaris SunOS sven 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10, 
RR> MySQL version 3.23.33 

RR> I looked through the bug fix lists of the later versions and could not
RR> find a reference to any problem like this on.  If it has been fixed, in
RR> what version was it fixed?

[skip]

RR> select encode("Password",char(107,101,121));
RR> ERROR 1064: You have an error in your SQL syntax near
RR> 'char(107,101,121))' at line 1

[skip]

Only first argument of ENCODE() can be an expression.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to