Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT COUNT(COLUMN_NAME) AS CONTADOR FROM information_schema.COLUMNS
- WHERE TABLE_CATALOG = 'nomedobanco' AND TABLE_NAME = 'tabela'
- GROUP BY TABLE_CATALOG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement