Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- How to define an array in sql?


brotherhood_of_LAN - 4:07 pm on Jun 29, 2011 (gmt 0)


Going with rocknbil's suggestion of another table, you could use the GROUP_CONCAT [dev.mysql.com] function to group all the int values alongside the 'main table' record.

However, if you are only using a small set of numbers (64 or less), the SET Type [dev.mysql.com] may be a good option to you.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4332474.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com