|
-
If I understand your requirement correctly...
1- you have a large "students" table
2- you have to retrieve data related to 1,000 of them
Is that correct?
Either you...
1- list the 1,000 student_id's on your predicate, or
2- you find a different column that brings all of those students like the status of the student being active or something like that, or
3- you join students table with other tables that allow to filter the 1,000 desired students
Hard to tell 'cause we have no visibility of your environment.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|