Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to get the number of columns in a table in sql

SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'tbl_ifo'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #number #columns #table #sql
ADD COMMENT
Topic
Name
7+4 =