I am writing a cursor to populate data in new table from main table which contains data in below manner
Item Colors
Shirt Red,Blue,Green,Yellow
I want to populate new Table data by fetching the Item and then adding it in row, according to each color it contains
Item Color
Shirt Red
Shirt Blue
Shirt Green
Shirt Yellow
I am stuck in how to
1) Delimate/Split "Colors" string
2) To save it in an array
3) To use it in cursor
as I am going to use Nested cursor for this purpose.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…