官方说明
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Querying_Metadata_(FireDAC)
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Working_with_Metadata_(FireDAC)
FDMetaInfoQuery1.MetaInfoKind := mkTableFields; FDMetaInfoQuery1.ObjectName := 'aaa'; //表名 FDMetaInfoQuery1.Open; var i:integer; for I := 0 to FDMetaInfoQuery1.FieldCount -1 do dbgrid2.Columns[i].Width:=50;