Get column count using Sqlite -


this question has answer here:

how can column count in table using sqlite. tried select count(*) information_schema.columnsc table_name = 'test' , table_schema = "test" works fine sql doesnt works sqlite. there other way getting column count. thank you..!

try pragma table_info(table_name); give columns information-name,type etc. refer http://www.sqlite.org/pragma.html


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -