sponsor Vim development Vim logo Vim Book Ad

sql.vim : Oracle 9i Syntax highlighting (SQL, SQL+)

 script karma  Rating 8/6, Downloaded by 1864  Comments, bugs, improvements  Vim wiki

created by
Johannes Gritsch
 
script type
syntax
 
description
This is a drop-in for the original sql.vim file delivered with vim 6.2. It should do highlighting of all documented Oracle 9iR2  SQL commands/keywords and SQL+ commands.
PL/SQL blocks within a SQL file will be marked as one uniform block without further highlighting.
I tried to stick to the Oracle Documentation concerning keywords and commands as far as possible, so not everything you would expect to be a keyword is one (e.g. DUAL).
 
install details
put this file (sql.vim) into <vimdirectory>/syntax/ or ~/.vim/syntax
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sql.vim 0.2.1 2003-08-30 6.0 Johannes Gritsch 2003-08-25      repaired minor glitches, added "create global temporary table"
2003-08-25      some simplifications to reduce length of file (still 10k!)
sql.vim 0.2 2003-08-19 6.0 Johannes Gritsch minor bug fixes:
2003-08-18      parsing of SQL+ commands: lines ending with "-\s*" accepted as continuation lines
2003-08-18      not everything starting with ":" is a bind variable
2003-08-18      `with' has to be treated as a statement
2003-09-19      handling of splitted commands is correct (hopefully)
ip used for rating: 18.221.53.209

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github