Which query will give the table structure with column definitions in SQL?
Which query will give the table structure with column definitions in SQL?
For SQL Server use exec sp_help
USE db_name;
exec sp_help 'dbo.table_name'
For MySQL, use describe
DESCRIBE table_name;