Aantal kolommen in een tabel (MySQL)
Naar navigatie springen
Naar zoeken springen
Zó achterhaal je het aantal kolommen in een tabel:
select count(*) from information_schema.columns where table_schema="webwinkels" and table_name="amazon_sjabloon";
Bronnen
- http://stackoverflow.com/questions/658395/find-the-number-of-columns-in-a-table - Idee is goed, maar de code is onjuist!