I run the following query from ASP or Access and it works, with no problems. 51 records are returned.
SELECT Problems.Detail, ProbID, Count(*) AS ProbCnt
FROM Problems, Logs
WHERE Logs.Detail=Problems.ProbID And Open_Date>=#5/1/2004# And Open_Date<#6/1/2004#
GROUP BY ProbID, Problems.Detail;
But if I add one more criteria to the where clause, the Problems.Detail column corrupts. Only 2 non text characters appear instead.
SELECT Problems.Detail, ProbID, Count(*) AS ProbCnt
FROM Problems, Logs
WHERE Logs.Detail=Problems.ProbID And Open_Date>=#5/1/2004# And Open_Date<#6/1/2004# And Svc='E'
GROUP BY ProbID, Problems.Detail;
The table Logs has around 255,000 records. If I delete some records and bring it down to around 50,000 the 2nd query starts working. Is there possibly another way to write this?
SELECT Problems.Detail, ProbID, Count(*) AS ProbCnt
FROM Problems, Logs
WHERE Logs.Detail=Problems.ProbID And Open_Date>=#5/1/2004# And Open_Date<#6/1/2004#
GROUP BY ProbID, Problems.Detail;
But if I add one more criteria to the where clause, the Problems.Detail column corrupts. Only 2 non text characters appear instead.
SELECT Problems.Detail, ProbID, Count(*) AS ProbCnt
FROM Problems, Logs
WHERE Logs.Detail=Problems.ProbID And Open_Date>=#5/1/2004# And Open_Date<#6/1/2004# And Svc='E'
GROUP BY ProbID, Problems.Detail;
The table Logs has around 255,000 records. If I delete some records and bring it down to around 50,000 the 2nd query starts working. Is there possibly another way to write this?