たとえば、特定のフィールドの値を取得できます。しかし、フィールドの長さを知ることは可能ですか?
MyQuery.Fields[0].Value; // contains the value of the field
MySQL から直接情報を照会できます
SELECT column_name, column_type, character_maximum_length
FROM information_schema.columns
WHERE table_name = '...'
AND table_schema = '...'
table_name
andを指定するだけtable_schema
で、すべての列とその長さ (少なくとも文字列列の長さ) が返されます。
を見てみましょう
ADOQuery1.FieldDefList.FieldDefs[0].Size
そして、それがあなたが探しているものを提供するかどうかを確認してください。