How to know the type of a table in SQL | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to know the type of a table in SQL

21st Oct 2017, 3:44 PM
Vipul Kumar
Vipul Kumar - avatar
2 Answers
+ 1
if you refer to the type of data in a column of an specific table: use describe nameoftable; this shows the types of all the columns in that table
21st Oct 2017, 9:39 PM
Timo Ramallo
Timo Ramallo - avatar
+ 1
desc TABLE_NAME
21st Oct 2017, 10:40 PM
1of3
1of3 - avatar