Okay – so today one of the previous sites I had worked on was having difficulty because text was being truncated on a display section. I looked in the database and sure enough all of the data was there, but when I ran the query that was on the page, I noticed that it was cutting off the data at about string length, 255 characters. After some quick digging around, I came across this website: http://allenbrowne.com/ser-63.html. Well wouldn’t you know it. I had a DISTINCT operator in my query, which was causing the field to be truncated down to string length. Now that problem is solved, on to the next!

