de Graff
2007-03-14 21:11:03 UTC
I built all of our servers with the same Windows Server 2003 CD and (I
believe) I have set them up with the same options. Does anyone know why the
following query from a remote machine works on some servers and not on
others? The error disappears when I remove the TimeWritten portion of the
query. The error I get indicates an invalid query (syntax).
Select * from Win32_NTLogEvent Where Logfile = 'Application' and SourceName
= 'LiveState Recovery' and TimeWritten >= '2007-03-11' and TimeWritten <=
'2007-03-11 23:59:59'
believe) I have set them up with the same options. Does anyone know why the
following query from a remote machine works on some servers and not on
others? The error disappears when I remove the TimeWritten portion of the
query. The error I get indicates an invalid query (syntax).
Select * from Win32_NTLogEvent Where Logfile = 'Application' and SourceName
= 'LiveState Recovery' and TimeWritten >= '2007-03-11' and TimeWritten <=
'2007-03-11 23:59:59'