Created
June 24, 2011 13:23
-
-
Save terrancesnyder/1044750 to your computer and use it in GitHub Desktop.
oracle force index scan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT /*+ INDEX(patients sex_index) use sex_index because there are few male patients */ name, height, weight | |
FROM patients | |
WHERE sex = 'm'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment