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 |
Mario Noronha
Starting Member
6 Posts |
Posted - 2010-06-30 : 05:46:37
|
select CONVERT(VARCHAR(10),LastChangedON_UTC,101) as Date,LOB, ApplicationOwnerConfirmation from dtp_p2.InventoryMainExport where ApplicationOwnerConfirmation ='Validated' the table which is generated by the query is as follows :Date LOB ApplicationOwnerConfirmation6/11/2010 GTIS Validated4/15/2010 GCS Validated5/11/2010 GCS Validated4/15/2010 GCS Validated4/26/2010 GCS Validated6/11/2010 GTIS Validated4/15/2010 GCS Validated4/15/2010 GCS Validated4/15/2010 GCS Validated4/15/2010 GCS Validated4/15/2010 GCS Validated4/26/2010 GCS Validated6/11/2010 GTIS Validated6/11/2010 GTIS Validated6/11/2010 GTIS Validated6/14/2010 GTIS Validated4/26/2010 GCS Validated6/4/2010 GCS Validated4/15/2010 GCF Validated4/15/2010 GCF Validated4/15/2010 GCS Validated6/4/2010 GCS Validated6/11/2010 GTIS Validated6/4/2010 GCS Validated4/26/2010 GCS Validated4/15/2010 GCS Validated4/15/2010 GCF Validated4/15/2010 GCS Validated6/11/2010 GTIS Validatedi want to calculate the percentage by LOB on for each date that is Listed in the table for that LOBDesired Sample Ouput % on weekly basis By LOB date GCF GCS GTIS24-03-2010 1 0 131-03-2010 2 0 304-10-2010 3 0 414-04-2010 6 0 921-04-2010 7 0 1028-04-2010 9 0 1305-05-2010 10 1 15can anyone help me pleaseThanksMario Noronha |
|
Sachin.Nand
2937 Posts |
Posted - 2010-06-30 : 05:59:30
|
The image you posted is not visible.Limitations live only in our minds. But if we use our imaginations, our possibilities become limitless. PBUH |
 |
|
Sachin.Nand
2937 Posts |
Posted - 2010-06-30 : 06:38:46
|
Bu the dates you posted in your sample data & the sample o/p are not matching.Limitations live only in our minds. But if we use our imaginations, our possibilities become limitless. PBUH |
 |
|
|
|
|