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 : 06:20:38
|
hi this is my queryselect distinct CONVERT(VARCHAR(10),LastChangedON_UTC,101) as Date,LOB, count(ApplicationOwnerConfirmation) as VlidatedCount from dtp_p2.InventoryMainExport where ApplicationOwnerConfirmation ='Validated' and CONVERT(VARCHAR(10),LastChangedON_UTC,101) in(select distinct CONVERT(VARCHAR(10),LastChangedON_UTC,101) as CAT from dtp_p2.InventoryMainExport)Group By LOB,CONVERT(VARCHAR(10),LastChangedON_UTC,101) order by LOB ascnow i want to calculate the percentage on the following count(ApplicationOwnerConfirmation) as VlidatedCountcan any once please helpThanksMario Noronha |
|
|
|
|