So initially I had created a global (I know xd), array where I stored around 600 ~25 chars strings. The array for sure wont get bigger than that. So my question is how to store temporally such an array in Mysql.
I would have used VARCHAR(255) and store it as a string but due to the size I cant. I also though of JSON type, but, at least for me, didn't seem good. Now what am thinking of doing now is;
Since I know that each element in the array will be unique, create a table with 1 column, store them there in many rows, and when done delete the table.
Is that a good/efficient approach or perhaps am missing something out
via nonerth
No comments:
Post a Comment