Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 12, 2005, 8:07 pm
rate this thread
Using SUM as an example, seems true with all functions:
SUM (...) doesn't work, but SUM(...) does (note the space between the
function and the argument list)? I just spent painful minutes banging
my head over this one.
Is this strange, or am I just the last one to know about it?
FWIW, I'm running 4.1.9-nt
Re: spaces in MySQL functions
I don't think it's strange.
In fact, it surprised me that any common language *permits* a space between
a function and it's argument list. I just never see it done that way and
MySQL obviously doesn't like it. Surprisingly, my C compiler and Python
interperter permit it! But I had to try it because, never having put that
kind of space in my code, I never noticed.
However, now that I know -
I think I'll continue to fall back on the fact that -
the *absence* of whitespace between a function and it's arguments seems to
make everything happy :-)
- » Application approval #88400C Tue, 12 Jul 2005 10:27:21 -0800
- — Next thread in » MySQL Database Forum
- » Americanas.com SALDO de TVs Com at 80% de Desconto (29798)
- — Newest thread in » MySQL Database Forum