Situatie
Solutie
For PostgreSQL, MySQL, SQL Server, or SQLite, you can query the system catalogs or information schema:
SELECT COUNT(*)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = ‘your_table_name’;
Replace ‘your_table_name’ with the name of your table.
Leave A Comment?