Last active
June 21, 2024 03:20
-
-
Save secf4ult/dedaf70fca1411de4c7a90d7d2b8935f to your computer and use it in GitHub Desktop.
SQL cheatsheet
This file contains 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
-- Get the execution plan for the last command | |
SELECT * FROM dbms_xplan.display_cursor(); | |
-- Get the hinted plan for the last command | |
SELECT * FROM dbms_xplan.display_cursor(format=>'+outline')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment