Jump to content

92 columns or 1 longtext


mga_ka_php

Recommended Posts

which is better to have create a 92 table columns or concatenate the values with delimiter and save it into 1 column (longtext)? which is faster to retrieve data from database

 

example 1 column in longtext

IdNumber:123[delimiter]Description:the quick brown fox[delimiter]LongDescription: ..........

 

or i will separate that into 92 columns.

Link to comment
https://forums.phpfreaks.com/topic/193316-92-columns-or-1-longtext/
Share on other sites

Your example implies the need for three columns. Without specific information about what the data is and how it is used, we cannot directly help you. The solution might range from a single table with some of the data in discrete columns and some of it stored as a list in one column all the way to some of the data separated out into separate tables.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.