Subject | Re: Error message |
---|---|
Author | myles@techsol.org |
Post date | 2007-04-02T19:50:56Z |
Thanks for the information. I checked to make sure that there was adequate
disk space available, ran GFIX over the database to fix any problems it
found (but it didn't find any), and I can connect to the raw database
without any problems.
The issue comes down to this query:
SELECT FIRST 30 SKIP 0
JOB.JOB_ID,
CLIENT.CLIENT_NAME,
CLIENT_SITE.SITE_DESC,
JOB.ENTERED_TS,
JOB_STATUS.JS_NAME,
TECHNICIAN.TECH_INITIALS,
JOB.CHARGE_TYPE,
JOB.JOB_DESC_SHORT
FROM JOB
INNER JOIN CLIENT ON (JOB.FK_CLIENT_ID = CLIENT.CLIENT_ID)
INNER JOIN CLIENT_SITE ON (JOB.FK_SITE_ID = CLIENT_SITE.SITE_ID)
INNER JOIN JOB_STATUS ON (JOB.FK_JS_ID = JOB_STATUS.JS_ID)
INNER JOIN JOB_TECH ON (JOB.JOB_ID = JOB_TECH.JOB_ID)
INNER JOIN TECHNICIAN ON (JOB_TECH.TECH_ID = TECHNICIAN.TECH_ID)
WHERE JOB.RECORD_INACTIVE <> 'Y' AND FK_CLIENT_ID = 55601
ORDER BY JOB_ID;
I'm running this in a stored procedure, and I'm not exactly sure why its
having problems with this. It is reporting that the issue is coming from
the first INNER JOIN to the CLIENT table.
Any ideas?
Myles
============================
Myles Wakeham
Director of Engineering
Tech Solutions US, Inc.
Scottsdale, Arizona USA
Phone (480) 451-7440
www.techsol.org
disk space available, ran GFIX over the database to fix any problems it
found (but it didn't find any), and I can connect to the raw database
without any problems.
The issue comes down to this query:
SELECT FIRST 30 SKIP 0
JOB.JOB_ID,
CLIENT.CLIENT_NAME,
CLIENT_SITE.SITE_DESC,
JOB.ENTERED_TS,
JOB_STATUS.JS_NAME,
TECHNICIAN.TECH_INITIALS,
JOB.CHARGE_TYPE,
JOB.JOB_DESC_SHORT
FROM JOB
INNER JOIN CLIENT ON (JOB.FK_CLIENT_ID = CLIENT.CLIENT_ID)
INNER JOIN CLIENT_SITE ON (JOB.FK_SITE_ID = CLIENT_SITE.SITE_ID)
INNER JOIN JOB_STATUS ON (JOB.FK_JS_ID = JOB_STATUS.JS_ID)
INNER JOIN JOB_TECH ON (JOB.JOB_ID = JOB_TECH.JOB_ID)
INNER JOIN TECHNICIAN ON (JOB_TECH.TECH_ID = TECHNICIAN.TECH_ID)
WHERE JOB.RECORD_INACTIVE <> 'Y' AND FK_CLIENT_ID = 55601
ORDER BY JOB_ID;
I'm running this in a stored procedure, and I'm not exactly sure why its
having problems with this. It is reporting that the issue is coming from
the first INNER JOIN to the CLIENT table.
Any ideas?
Myles
============================
Myles Wakeham
Director of Engineering
Tech Solutions US, Inc.
Scottsdale, Arizona USA
Phone (480) 451-7440
www.techsol.org