Sanjeev Shrestha writes "Table EmpRecords------------------------------------- select TranId,EmpId,[20],[25],[24],[31] from EmpRecords--------------------------------------TranId EmpId 20 25 24 31-------------------- -------------------- ----- ----- ----- ----- 1 0301 LO NULL NULL NULL2 0301 NULL SL NULL NULL3 0301 NULL NULL LO NULL4 0301 NULL NULL NULL LI(4 row(s) affected)I want the following result :EmpId 20 25 24 30-------------------- ---- --- ---- ------0301 LO SL LO LI
How to do this ? Pls help meSanjeev"