From: Warren Young Date: June 16 2005 6:25pm Subject: Re: Data type List-Archive: http://lists.mysql.com/plusplus/4545 Message-Id: <42B1C3FF.60701@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Paoletti Vincenzo wrote: > How can I know the number of byte of a field( using mysql_type_info or other classes)? Look at the fieldinf1 example. That will show you how to find out which native MySQL type a column uses, and your MySQL programmer's manual will tell you how many bytes that type requires.