C
chickenfriedsteak
I thought I had posted this question before, but I don't see it on the
forum.
I'm managing a db with (amongst many others) two tables; one for
tracking when we do a repair / change control on one of our servers,
the other to track catastrophic failures / unplanned downtime.
I wrote a query that I wanted to pull the following data:
Date of server repair / change control
What type of repair / change was implemented
Date of failure
What type of failure was experienced
Name of server
Criteria:
Server Name (Change Control) = Server Name (Failure) AND
Date of Repair/Change is exactly on or up to 31 days prior to Date of
Failure
(Basically, find a way to correlate a failure to a change control on
the same server, if performed within 31 days).
Below is my query statement, but I get the error "Reserved error
(-3201); there is no message for this error." Can anyone point me in
the right direction here?
SELECT tblServerRepairs.CurDate, tblServerRepairs.ServerName AS
tblServerRepairs_ServerName, tblServerRepairs.ChangeImplemented,
tblDowntimeFailures.FailureDate, tblDowntimeFailures.ServerName AS
tblDowntimeFailures_ServerName, tblDowntimeFailures.TypeofFailure,
tblDowntimeFailures.Details, tblServerRepairs.[Hardware-Software]
FROM tblServerRepairs, tblDowntimeFailures
WHERE (((tblDowntimeFailures.FailureDate) Between Date
([tblServerRepairs].[CurDate]) And Date([tblServerRepairs].[CurDate]
+31)) AND ((tblDowntimeFailures.ServerName)=[tblServerRepairs].
[ServerName]));
forum.
I'm managing a db with (amongst many others) two tables; one for
tracking when we do a repair / change control on one of our servers,
the other to track catastrophic failures / unplanned downtime.
I wrote a query that I wanted to pull the following data:
Date of server repair / change control
What type of repair / change was implemented
Date of failure
What type of failure was experienced
Name of server
Criteria:
Server Name (Change Control) = Server Name (Failure) AND
Date of Repair/Change is exactly on or up to 31 days prior to Date of
Failure
(Basically, find a way to correlate a failure to a change control on
the same server, if performed within 31 days).
Below is my query statement, but I get the error "Reserved error
(-3201); there is no message for this error." Can anyone point me in
the right direction here?
SELECT tblServerRepairs.CurDate, tblServerRepairs.ServerName AS
tblServerRepairs_ServerName, tblServerRepairs.ChangeImplemented,
tblDowntimeFailures.FailureDate, tblDowntimeFailures.ServerName AS
tblDowntimeFailures_ServerName, tblDowntimeFailures.TypeofFailure,
tblDowntimeFailures.Details, tblServerRepairs.[Hardware-Software]
FROM tblServerRepairs, tblDowntimeFailures
WHERE (((tblDowntimeFailures.FailureDate) Between Date
([tblServerRepairs].[CurDate]) And Date([tblServerRepairs].[CurDate]
+31)) AND ((tblDowntimeFailures.ServerName)=[tblServerRepairs].
[ServerName]));