> Sorry for posting this again, but I got only one response last time, and
> still having the problem. I spent HOURS the other day manually going
> through the data and Properizing these things by hand. I don't want to do
> that again if I can avoid it. If anyone has any clues on this one, I
> appreciate it.
> The only difference in this and what I have now is that someone suggested
> changing it to Deterministic, which I did, and that didn't change the
> output. I also changed "SQL SECURITY DEFINER" to "SQL SECURITY INVOKER",
> and that didn't make a difference either.
> I have the following function on two servers:
> CREATE FUNCTION `ProperCase`(cInput TEXT)
> RETURNS text
> NOT DETERMINISTIC
> CONTAINS SQL
> SQL SECURITY DEFINER
> COMMENT ''
> Declare cReturn Text;
> Set cReturn =
> FROM 2)));
> RETURN cReturn;
> It's a very simple function used to properize a string sent to it. When I
> a simple SELECT ProperCase('JESSE'); it returns "JESSE" on our server that
> is running 5.0.17-nt-log. On another server that I've got, running
> 5.0.51a-community-nt, this function returns "Jesse" as it should.
> The only difference that I can think of is the version. Is there a problem
> with the older version that would cause this function not to work
Any difference in default collation?
Database Workbench - development tool for MySQL, and more!
Database development questions? Check the forum!