Hi,

I remember reading this somewhere, but due to the similarity of my need with the function MAX(), it's been hard to find an answer.

So, how could I retrieve the maximum value that a column will accept? For example, for TINYINT it might be 255 (sorry if this is incorrect, but I'm not very good at understanding column lengths), so is there something like SELECT MAX_LENGTH(col) that will return this value?

Thanks in advance.

Ivan V.