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 |
|
aks
Starting Member
28 Posts |
Posted - 2005-03-08 : 15:29:08
|
| Hi, I want to create new columns as (Jan,Feb,March....) Example Jan Feb Mar April .....UIDHRS I tried CASE .Its working but Is there any other way? |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-08 : 15:39:12
|
huh??? a bit more info please... i can't figure out what you're doing inspite all of the ESP Go with the flow & have fun! Else fight the flow |
 |
|
|
aks
Starting Member
28 Posts |
Posted - 2005-03-08 : 15:44:12
|
| I have a table UID INT12 111112 112412 2313 111213 112413 34Where 1111-jan,1112-feb,1113-march & so on...................23 & 34 ...r Clients Total Hrs Now I want the OUTPUT asUID JAN FEB MARCH APRIl=========================================================================12 2313 34...................................Hope this will help u.I tried casewhen int=1111 then outputend as jan |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
|
aks
Starting Member
28 Posts |
Posted - 2005-03-08 : 16:07:18
|
| but I also want to ADD TOTAL HR for each clientUID JAN FEB MARCH APRIL TOTAL ===============================================================================12 8 32 4013 6 10 16 |
 |
|
|
|
|
|