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

Prabhu RajaPosted Oct 8, 2011, 3:29 AM
Select ID, industryid, industry
PRINT N @IndustryID ;
PRINT N @Industry ;
Dharmesh SharmaPosted Oct 7, 2011, 8:03 AM
DRISHTYPosted Oct 7, 2011, 8:01 AM
In that stored procedure, writedown logic of creating cursor and perform operation row by row.
DRISHTYPosted Oct 7, 2011, 7:58 AM