sj1187534
Well-known member
Hi...I have one more question....
Right now, I have a column DLoc in table T1. The DLoc currently has string values separated by a comma...like,
T1
======
ID -> 2
DLoc -> Dallas, Boston, Chicago
ID is the primary key
==================
Now, I want to create a table T2 that has two columns whose values are like this (obtained from T1):
T2
======
ID -> 2
Loc -> Dallas
ID -> 2
Loc -> Boston
ID -> 2
Loc -> Chicago
(ID,Loc) is the primary key
====================
Any ideas on what is the best way to do this??
~SJ
Right now, I have a column DLoc in table T1. The DLoc currently has string values separated by a comma...like,
T1
======
ID -> 2
DLoc -> Dallas, Boston, Chicago
ID is the primary key
==================
Now, I want to create a table T2 that has two columns whose values are like this (obtained from T1):
T2
======
ID -> 2
Loc -> Dallas
ID -> 2
Loc -> Boston
ID -> 2
Loc -> Chicago
(ID,Loc) is the primary key
====================
Any ideas on what is the best way to do this??
~SJ