Hi, Below one is my sample Table StructureDeclare @t table( Series varchar(50), S1 varchar(50), S2 varchar(50), S3 varchar(50))Insert into @t Select 'Label1','','','' unionSelect 'Label2','','','' unionSelect 'Label3','','','' unionSelect 'Label4','','','' Select * from @tAbove OutPut Series S1 S2 S3Label1 Label2 Label3 Label4 Actually Label1,2,3 were fetch from table, the value may change. So My required outputis like belowSeries S1 S2 S3Label1OpenClose Label2 OpenCloseLabel3 OpenCloseLabel4 OpenCloseNeed to bring Open and close between of the Every labels. How to bring achieve the above result.Kindly guide me,through sample codes
.Suri