INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Slow pervasive query

Slow pervasive query

(OP)
I really dont have any knowledge about pervasive database. We have one simple query which is running very slow (taking ages). I have created index on HiReqe (patientid,reqnum, reqdate), patient (patientid, patsex, patcob,patdob) and hitest (reqnum, testcode). Is there anything that i can do run query faster?

select a.reqnum, a.reqdate, b.patientid, b.patcob, b.patdob, b.patsex, c.testcode, c.normalresult from "HiReq" as a

inner join "Patient" as b on a.patientid = b.patientid and b.patsex = 'M'

inner join "Hitest" as c on a.reqnum = c.reqnum and c.testcode = '903'

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close