This is a Vim plugin to have syntax highlighting for SQL heredocs in your code.
Using Pathogen:
git clone https://github.com/aliou/sql-heredoc.vim.git ~/.vim/bundle/sql-heredoc.vim
Using vim-plug:
Plug 'aliou/sql-heredoc.vim'
Using NeoBundle:
NeoBundle 'aliou/sql-heredoc.vim'
Using Vundle:
Plugin 'aliou/sql-heredoc.vim'
Copyright (c) Aliou Diallo. Distributed under the same terms as Vim itself. See :help license.