What is the syntax to view structure of table?

From SQLZOO
Jump to: navigation, search

What is the syntax to view structure of table?

schema:gisq

What is the syntax to view structure of table?

 
SELECT * FROM syscat.COLUMNS
WHERE tabname= 'BBC'
SELECT * FROM all_tab_columns
 WHERE TABLE_NAME='BBC'
sp_columns @TABLE_NAME=bbc
SHOW COLUMNS FROM bbc
SQL
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense