Any SQL gurus here?

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
is this they new way of actually saying: hey i'm to lazy to google around, but don't want to have anyone point this out so rather say something like HELP PM me ? ;):D
 
Last edited:

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
lol, no he really has a problem.

basically a field isn't limited in the input characters he can put in, but it looks like the PHP reading it out is trunking it.

That was/is his problem.

Google won't fix
 

dequadin

Expert Member
Joined
May 9, 2008
Messages
1,434
What I don't get is why people have to PM him to find out the problem :confused:

This is a public forum, post the problem and give everyone a chance to contribute, isn't that the whole point? :erm:
 

deweyzeph

Honorary Master
Joined
Apr 17, 2009
Messages
10,543
What I don't get is why people have to PM him to find out the problem :confused:

This is a public forum, post the problem and give everyone a chance to contribute, isn't that the whole point? :erm:

I agree, it's a bit like starting a new thread saying "Please PM me to find out what this post is about".
 

nephelyn

Active Member
Joined
Jun 26, 2008
Messages
97
OK from the limited description i can say that i have had something similar. When a string is written to a SQL Server database with a null char in, some API calls will see the null as the termination of the string and only return everything before the null.

One way to pick this up is to do a normal select in SQL mngt studio (it will terminate after null) count the length and compare that to a len(fieldname) select (it wont terminate).
 

mercurial

MyBB Legend
Joined
Jun 12, 2007
Messages
40,902
Thanks to all who got back to me. I found out that the issue wasn't the SQL, but rather the site's source files...
 
Top