how to convert character to date. writetime is character data type.
i want to have CPU utilization of last 24 hrs. for time being i want to have result from 1 server.
select "AVG_%_Total_Pr ocessor_Time", "WRITETIME" , "MAX_%_Total_Pr ocessor_Time", "MIN_%_Total_Pr ocessor_Time", "AVG_%_Total_Pr ivileged_Time" , "AVG_%_Total_Us er_Time", "AVG_Context_Sw itches/Sec", "AVG_Total_Inte rrupts/Sec"
from "NT_System_ HV"
where "Server_Nam e" = 'Primary:ITM6VM :NT' and "WRITETIME" between '00000000000000 00' and'99999999999 99999'
query working fine till where server name but i am confuse how to utilize and get result from between clause and get last 24 hrs result.
i want this query for BIRT report design and itm6.2.
i want to have CPU utilization of last 24 hrs. for time being i want to have result from 1 server.
select "AVG_%_Total_Pr ocessor_Time", "WRITETIME" , "MAX_%_Total_Pr ocessor_Time", "MIN_%_Total_Pr ocessor_Time", "AVG_%_Total_Pr ivileged_Time" , "AVG_%_Total_Us er_Time", "AVG_Context_Sw itches/Sec", "AVG_Total_Inte rrupts/Sec"
from "NT_System_ HV"
where "Server_Nam e" = 'Primary:ITM6VM :NT' and "WRITETIME" between '00000000000000 00' and'99999999999 99999'
query working fine till where server name but i am confuse how to utilize and get result from between clause and get last 24 hrs result.
i want this query for BIRT report design and itm6.2.
Comment