Hi I need to split the string which looks like
n.col1 , b.col1 , n.col2 , b.col2, n.col3 , b.col3 , b.col4 , n.col4 , b.col5,n.col5
n.col1,n.col2 are columns
these are present in @columns
select @columns gives this string
the length of @column is not fixed........we may have n number of columns seperated by ',' but we need to display only first 6 out of them
i need to display only first 6 columns out of these.........
n.col1 , b.col1 , n.col2 , b.col2, n.col3 , b.col3
can any one plz help me out in this........... ....
n.col1 , b.col1 , n.col2 , b.col2, n.col3 , b.col3 , b.col4 , n.col4 , b.col5,n.col5
n.col1,n.col2 are columns
these are present in @columns
select @columns gives this string
the length of @column is not fixed........we may have n number of columns seperated by ',' but we need to display only first 6 out of them
i need to display only first 6 columns out of these.........
n.col1 , b.col1 , n.col2 , b.col2, n.col3 , b.col3
can any one plz help me out in this........... ....
Comment