Last active
December 22, 2015 06:59
-
-
Save schnell18/6434992 to your computer and use it in GitHub Desktop.
A sample dbext profile that enables auto trace so that the execution plan is displayed after the result of SQL statement in a Vim buffer
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
let g:dbext_default_profile_system = 'type=ORA:user=system@host1_ora:passwd=system' | |
let g:dbext_default_profile_hr = 'type=ORA:user=hr@host1_ora:passwd=hr' | |
let g:dbext_default_SQLITE_bin = 'sqlite3' | |
let g:dbext_default_profile_sqlite = 'type=SQLITE:dbname=/home/mfg/work/000.sqlite' | |
let g:dbext_default_ORA_cmd_header = "set timing on\n" . | |
\ "set autotrace on\n" . | |
\ "set pagesize 50000\n" . | |
\ "set wrap off\n" . | |
\ "set sqlprompt \"\"\n" . | |
\ "set linesize 10000\n" . | |
\ "set flush off\n" . | |
\ "set colsep \" \"\n" . | |
\ "set tab off\n\n" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment