Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql count columns

SELECT COUNT(COLUMN_NAME)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'table name';
 
PREVIOUS NEXT
Tagged: #sql #count #columns
ADD COMMENT
Topic
Name
7+3 =