Aantal kolommen in een tabel (MySQL)
Versie door Jeroen Strompf (overleg | bijdragen) op 22 jan 2016 om 14:49
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!