To get the name ,data type and size of the table we will write the following query
We will use the SQL predefined function for it by writing a SQL query
SELECT columnname as 'Column Name', datatype as 'Data Type',
charactermaximumlength as 'Max Length'
FROM informationschema.columns
WHERE tablename = 'student'
0 Comment(s)