@@ -125,14 +125,14 @@ Version 23.00 (Dec 30, 2015)
125
125
- CRATE native database type and Crate via DBI are supported
126
126
- Updated the DBI SQLAnywhere procedure list to respect the option of whether
127
127
to include the object owner names
128
- - Added a new public function, DB_DictionaryDelete, to be used by the
128
+ - Added a new public function, DB_DictionaryDelete, to be used by the
129
129
OMNI SQL Completion plugin (autoload/sqlcomplete.vim, which is part of Vim)
130
130
131
131
Bug Fixes
132
132
---------
133
- - helptags reported duplicate tag MyProjectDir, updated documentation as a
133
+ - helptags reported duplicate tag MyProjectDir, updated documentation as a
134
134
work around as there is no way to escape the real syntax (pull #3) (mexpolk)
135
- - For PGSQL, use the "schemaname" column rather than "tableowner" (pull #15)
135
+ - For PGSQL, use the "schemaname" column rather than "tableowner" (pull #15)
136
136
(Stefan Litsche)
137
137
138
138
@@ -162,12 +162,12 @@ Version 22.00 (August 2, 2015)
162
162
setting. This can also be set / overridden using DBSetOption strip_into=1
163
163
or as part of a dbext profile.
164
164
- Added new option, "strip_at_variables", which is executing statements which
165
- have variable assignments in the SELECT list instead of the INTO clause.
165
+ have variable assignments in the SELECT list instead of the INTO clause.
166
166
To test these queries, you need to remove the assignments when they execute
167
167
to see the result set returned. This was on for all databases, but for
168
168
TransactSQL or TSQL databases like SQLSRV and ASE, stripping the variable
169
- assignments in the SELECT list is required. This can be controlled via this
170
- setting. This can also be set / overridden using
169
+ assignments in the SELECT list is required. This can be controlled via this
170
+ setting. This can also be set / overridden using
171
171
DBSetOption strip_at_variables=1 or as part of a dbext profile.
172
172
173
173
Bug Fixes
@@ -1197,7 +1197,7 @@ Version 2.00 (Jul 11, 2004)
1197
1197
let dbext_default_query_statements = 'select,update';
1198
1198
dbext_default_passwd_use_secret
1199
1199
< - When entering a password, if the value should be masked. When using
1200
- a GUI version of Vim, the prompt is not displayed in a dialog unlike
1200
+ a GUI version of Vim, the prompt is not displayed in a dialog unlike
1201
1201
the other parameters. This option is OFF (0) by default. >
1202
1202
dbext_default_parse_statements
1203
1203
< - Which statements are parsed for input parameters (See | dbext-newdb | ) >
@@ -1337,7 +1337,7 @@ Version 2.00 (Jul 11, 2004)
1337
1337
the statement to a String.
1338
1338
>
1339
1339
dbext_default_strip_at_variables
1340
- < - A buffer local variable which is used when executing SELECT
1340
+ < - A buffer local variable which is used when executing SELECT
1341
1341
statements. This setting is OFF by default and ON for SQLSRV and
1342
1342
ASE databases. Most databases support the INTO clause which is used
1343
1343
to store column values into locally declared
@@ -1350,19 +1350,19 @@ Version 2.00 (Jul 11, 2004)
1350
1350
BEGIN
1351
1351
DECLARE @fname VARCHAR(30);
1352
1352
DECLARE @lname VARCHAR(30);
1353
-
1353
+
1354
1354
-- TransactSQL syntax
1355
1355
SELECT @fname = FirstName, @lname = Surname
1356
1356
FROM Customer
1357
1357
WHERE ID = @p1
1358
1358
END;
1359
1359
<
1360
1360
- If you visually selected the SELECT statement in this procedure
1361
- to test it, you will get a syntax error indicating "@fname" is
1361
+ to test it, you will get a syntax error indicating "@fname" is
1362
1362
not defined. When the procedure executes, the variable is defined
1363
1363
and will execute correctly.
1364
1364
- The "strip_at_variables" is enabled for all SQLSRV and ASE databases
1365
- which use TransactSQL syntax. When strip_at_variables = 1,
1365
+ which use TransactSQL syntax. When strip_at_variables = 1,
1366
1366
and visually selecting the statement and executing, the variable
1367
1367
assignments are stripped so that the developer can see the result set
1368
1368
returned by the query (instead of a syntax error): >
@@ -1379,7 +1379,7 @@ Version 2.00 (Jul 11, 2004)
1379
1379
let g:dbext_default_profile_SQLSRV = 'type=SQLSRV:user=sa:passwd=Leader:strip_at_variables=0'
1380
1380
>
1381
1381
dbext_default_strip_into
1382
- < - A buffer local variable which is used when executing SELECT
1382
+ < - A buffer local variable which is used when executing SELECT
1383
1383
statements. This setting is ON by default and OFF for SQLSRV and
1384
1384
ASE databases. Most databases support the INTO
1385
1385
clause which is used to store column values into locally declared
@@ -1388,32 +1388,32 @@ Version 2.00 (Jul 11, 2004)
1388
1388
BEGIN
1389
1389
DECLARE @fname VARCHAR(30);
1390
1390
DECLARE @lname VARCHAR(30);
1391
-
1391
+
1392
1392
SELECT FirstName, Surname
1393
1393
INTO @fname, @lname
1394
1394
FROM Customer
1395
1395
WHERE ID = @p1
1396
1396
END;
1397
1397
<
1398
1398
- If you visually selected the SELECT statement in this procedure
1399
- to test it, you will get a syntax error indicating "@fname" is
1399
+ to test it, you will get a syntax error indicating "@fname" is
1400
1400
not defined. When the procedure executes, the variable is defined
1401
1401
and will execute correctly.
1402
1402
- The "strip_into" is enabled for all databases other than SQLSRV
1403
- and ASE which use TransactSQL syntax. When strip_into = 1,
1403
+ and ASE which use TransactSQL syntax. When strip_into = 1,
1404
1404
and visually selecting the statement and executing, the INTO
1405
1405
clause is stripped so that the developer can see the result set
1406
1406
returned by the query (instead of a syntax error): >
1407
1407
SELECT FirstName, Surname
1408
1408
FROM Customer
1409
1409
WHERE ID = @p1
1410
1410
<
1411
- - For SQLSRV databases, the INTO clause is used to create a
1411
+ - For SQLSRV databases, the INTO clause is used to create a
1412
1412
temporary table and return the results from it. So for this
1413
1413
database, we do not want to strip the INTO clause. Consider
1414
1414
this SQL statement: >
1415
- SELECT *
1416
- INTO dbo.Table_backup
1415
+ SELECT *
1416
+ INTO dbo.Table_backup
1417
1417
FROM dbo.Table;
1418
1418
<
1419
1419
- It may be necessary to toggle this setting on and off based
@@ -2438,6 +2438,7 @@ Version 2.00 (Jul 11, 2004)
2438
2438
DB_NEW_getDictionaryView
2439
2439
DB_NEW_getListColumn
2440
2440
DB_NEW_getListProcedure
2441
+ DB_NEW_getListType
2441
2442
DB_NEW_getListTable
2442
2443
DB_NEW_getListView
2443
2444
DB_NEW_stripHeaderFooter
0 commit comments