create a table of 900 attributes in mysql

advertisements

Im trying to create a really big sql table that consists of 900 attributes. Is there an easy way to create a table in mysql that consists of 900 attributes without having to manually type them in? I have the name of attributes in a text file


Get each "attribute" into an array.

Do a foreach loop on the array which builds your query string.

Copy and paste that query string into phpMyAdmin or insert it into the database however you want.