How can i store multiple values in one attribute.
for example:
column name: telephone
i want to store 5,7 and 16 this three different values in one column (telephone) in one row.
How can i store multiple values in one attribute. for example: column name: telephone
Share
You should not be doing that. It goes to show that the DB has not been designed properly.
But if you have to do it without altering your DB design. You can join all the telephone numbers with a special glue, which is ensured not to be part of any telephone number, something like
%. So 5, 7 and 16 will all be stored in one column of type varchar as5%7%16, later your application and split them up as needed.