Hello,
i dont understand how i do that
i have one table in this table has id ,industry id uniq and industry has like "IT,DESIGN,SCO"
now i want to like that im get one by one id and sepret the industry without comma and insert into new table one by one like
1-----IT
1----DESIGN
1---SCO
so how to do this in sql plz help me


DRISHTY134 reputationPosted Oct 7, 2011, 3:58 AM EDT
DRISHTY134 reputationPosted Oct 7, 2011, 4:01 AM EDT
In that stored procedure, writedown logic of creating cursor and perform operation row by row.
Dharmesh SharmaRank #1,974 · 741 reputationPosted Oct 7, 2011, 4:03 AM EDT
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 7, 2011, 11:29 PM EDT
Select ID, industryid, industry
PRINT N @IndustryID ;
PRINT N @Industry ;