Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Storing multiple value field in a MySQL database

by erix (Vicar)
on Nov 26, 2013 at 20:43 UTC ( #1064473=note: print w/ replies, xml ) Need Help??


in reply to Storing multiple value field in a MySQL database

ISTM you need an array data type like more advanced databases (than Oracle's MySQL) have. I'm a bit surprised that MySQL doesn't have them (yet).

According to Oracle's MySQL website:

MySQL will implement a data type, ARRAY, to store variable-sized arrays, in compliance with Standard SQL (SQL:2003) array functionality.

So for an array datatype you have to wait, or switch to a more flexible RDBMS. (I'm pretty sure that Oracle too has had Arrays for a long time, since version 7 or so)


Comment on Re: Storing multiple value field in a MySQL database

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-07-03 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls