Hello friends,Here is the situation i have. I have a table with sample dataCreate Table UserComments( SchId int Not null identity,Usr_Name varchar(25), Dateof Datetime, Comments Varchar(200))Insert into UserComments (Usr_Name,Dateof,Comments )Select 'A', GETDATE(), 'Test0' union all Select 'B', GETDATE()+1, 'Test1' union all Select 'C', GETDATE()+2, 'Test2' union all Select 'D', GETDATE()+3, 'Test3' union all Select 'E', GETDATE()+4, 'Test4'
I/PBegdate (DateOF)EndDate (DateOf)UserName Expected O/PUsr_Name, [dateof],[dateof],[dateof],[dateof],.......................[dynamic]]A CommentsB CommentsI am sitting this issue for last two days. Can any one help me to get rid of this issue Please..?ThanksLakshmi