Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pamyral_279
Posting Yak Master
143 Posts |
Posted - 2006-06-20 : 00:00:18
|
| I have table:ID Name Value 1 A V12 B V23 A V34 E V45 A V56 G V67 B V78 E V8Now i want to display :Name : A 1 V1 3 V3 5 V5Name : B 2 V2 7 V7Name : E 4 V4 8 V8Name : G 6 V6Any one help me ?Thank you very much. |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-06-20 : 00:10:13
|
You should do the presentation and formating of data in your front end application and not in SQL ServerJust use ORDER BY to sort it by Name the ID and shows the data in front end.select Name, ID, Valuefrom tableorder by Name, ID KH |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-06-20 : 02:08:06
|
| If you use Reports, then group it by NameMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|