You could issue [tt]DESCRIBE table_name[/tt] and read through the results and then fetching the enumeration and split it. I am sure there is a better way, but this is all I can think of right now. //Daniel
Strip off the "enum(" from the beginning. Strip off the "" from the end. Split what remains at the commas into an array. Want the best answers? Ask the best questions:
yeah I wrote a function that does that. I was hoping for a function to just return the array directly, but you are right it only took minutes to write my own.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.