Get field name, data type and size of database table
Query to get field name with datatype and size
SELECT column_name as 'Column Name', data_type as 'Data Type',
character_maximum_length as 'Max Length'
FROM information_schema.columns
WHERE table_name = 'tblUsers'
No comments:
Post a Comment