i am having table file which contains multiple columns , one of them is val which was combination of 3 attributes version,name and availability all three are combined with ; and stored inside val . Now i have to insert 3 rows with coping all data and value i.e
id file_id file_version_id val type
162 190234 259 1.2;DESC;AVAIL desc
============================================================
id file_id file_version_id val type
162 190234 259 1.2 version
id file_id file_version_id val type
162 190234 259 DESC name
id file_id file_version_id val type
162 190234 259 AVAIL availability
As you can see from the example , i have to insert 3 records with its data from parent row. The order of data is version,name and availability in case for some records name is not available i.e 3.4;NOT_AVAIL then have to insert only two records with type Version and availability
version,name and availabilityif there is two consecutive string i.ename and availabiltyif first one number other one string i.e version and name.