What is it?-----------
dbext.vim : Provides database access to most databases.http://www.vim.org/scripts/script.php?script_id=356
This plugin contains functions/mappings/commands to enable Vim to
access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle,
Sybase Adaptive Server Anywhere, Sybase Adaptive Server Enterprise,Microsoft SQL Server, DB2, RDB, SAP HANA and Interbase are supported.
If you have a Perl enabled Vim, it also allows database connections via
DBI and ODBC.
It abstracts database access, so the same Vim commands will produce
the same output regardless of the database you use.
What is new in 19.00?
- Added support for parsing C# files (Raul Segura Acevedo).
- Updated the PostgreSQL message when the .pgpass file is missing (Dav Clark).
- When prompting for connection parameters a second time, the previously chosen profile number was not defaulted.
- If a dbext login script was stored in the $HOME directory it would never be found (Tim Teufel).
- The first host variable was prompted for replacement, but the second one was not (Stanimir Mladenov).
- Selecting a visual region with leading and ending double quotes (like a table name) could report invalid arguments for the following commands: DBSelectFromTable, DBSelectFromTableTopX, DBDescribeTable, DBDescribeProcedure, DBListColumn
- For DB2 on the mainframe the command line utilities do not support the -t switch. If you override the buffer specific cmd_terminator setting and set this value to an empty string the -t will be left off. This can be most easily specified in a dbext connection profile (Michael McDermott):
let g:dbext_default_profile_MyDB2 = 'type=DB2:user=me:passwd=mypass:dbname=SSD:cmd_terminator='
Or while within a buffer:
I am always open to suggestions, just email me.