Viewing 7 posts - 1 through 7 (of 7 total)
Thanks for your help. I ended up writing it a different way without using dates because I realized that specifying dates wouldn't help with what I was trying to...
January 8, 2014 at 12:54 pm
I didn't know if searchdate was a statement I could use
I wrote in my original post that I need to write it without referencing a timestamp in a table
I know...
January 6, 2014 at 10:50 am
Thanks for the reply
I modified my query but it returns an error
Delcare @dt date
Set @dt = GETDATE()
select distinct v1.name 'Machine Name', v1. 'Username', t1.displayname 'Unlicensed Application',...
January 6, 2014 at 9:00 am
Yup got it! I was really beating my head against the wall, thanks again.....
November 19, 2013 at 3:05 pm
THANK YOU!!!!!!!!!!
I ended up using 6,4 but here is the final query and thanks again!
declare @compliantint
declare @notcompliantint
declare @totalint
declare @percentdecimal(6,4)
set @compliant = (select [# of patches] from vpatchcompliancecount where Status =...
November 19, 2013 at 11:13 am
Ok so here is the new code, it works but the problem is that the output for Compliance % is 98 and I want two decimal places after 98
set...
November 19, 2013 at 11:10 am
Hey,
Thanks for the reply. All I am trying to do is return a compliance percentage of @compliant/@total and I want to return a percentage with 2 decimal places if...
November 19, 2013 at 11:02 am
Viewing 7 posts - 1 through 7 (of 7 total)