Skip to content

Commit acc916f

Browse files
golamogolamo
authored andcommitted
Support two new APIs (SQLStructuredTypes, SQLStructuredTypeColumns)
Fixed Spelling mistake
1 parent 4a60cd3 commit acc916f

File tree

3 files changed

+1020
-11
lines changed

3 files changed

+1020
-11
lines changed

ODBC 4.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ Named structured types are enumerated through the new [SQLStructuredTypes](#63-s
691691

692692
Anonymous types cannot be enumerated through SQLStructuredTypes, but their structure can be described by passing a path as the `TABLE_NAME` to SQLColumns, or the `UDT_NAME` to SQLStructuredTypeColumns. The dot-separated path starts with the table or named structural type name in which the anonymous type is used, can traverse an arbitrary number of `SQL_ROW` columns, and must terminate on a column whose type is `SQL_ROW`. Any identifiers in the path containing the dot character (.) must be quoted using the appropriate identifier quote character.
693693

694-
If calling SQLColumns or SQLStructuredColumns in this way returns `SQL_ROW` as the value of the `DATA_TYPE` and `SQL_DATA_TYPE` columns, then the column is an untyped structural column. The members of an untyped structured column are treated as [dynamic columns](#39-dynamic-columns) by the client.
694+
If calling SQLColumns or SQLStructuredTypeColumns in this way returns `SQL_ROW` as the value of the `DATA_TYPE` and `SQL_DATA_TYPE` columns, then the column is an untyped structural column. The members of an untyped structured column are treated as [dynamic columns](#39-dynamic-columns) by the client.
695695

696696
#### 3.10.1.1 Additional Columns in SQLColumns
697697

Windows/inc/sqlext.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,8 @@ typedef SQLTCHAR SQLSTATE[SQL_SQLSTATE_SIZE+1];
752752

753753
#if (ODBCVER >= 0x0400)
754754
#define SQL_API_SQLGETNESTEDHANDLE 74
755-
#define SQL_API_SQLSTRUCTREDTYPES 75
756-
#define SQL_API_SQLSTRUCTREDTYPECOLUMNS 76
755+
#define SQL_API_SQLSTRUCTUREDTYPES 75
756+
#define SQL_API_SQLSTRUCTUREDTYPECOLUMNS 76
757757
#define SQL_API_SQLNEXTCOLUMN 77
758758
#endif /* ODBCVER >= 0x0400 */
759759

@@ -1002,14 +1002,14 @@ typedef SQLTCHAR SQLSTATE[SQL_SQLSTATE_SIZE+1];
10021002
#define SQL_UNION_STATEMENT SQL_UNION
10031003

10041004
#if (ODBCVER >= 0x0400)
1005-
#define SQL_SCHEMA_INFERENCE 300
1006-
#define SQL_BINARY_FUNCTIONS 301
1007-
#define SQL_ISO_STRING_FUNCTIONS 302
1008-
#define SQL_ISO_BINARY_FUNCTIONS 303
1009-
#define SQL_LIMIT_ESCAPE_CLAUSE 304
1010-
#define SQL_NATIVE_ESCAPE_CLAUSE 305
1011-
#define SQL_RETURN_ESCAPE_CLAUSE 306
1012-
#define SQL_FORMAT_ESCAPE_CLAUSE 307
1005+
#define SQL_SCHEMA_INFERENCE 174
1006+
#define SQL_BINARY_FUNCTIONS 175
1007+
#define SQL_ISO_STRING_FUNCTIONS 176
1008+
#define SQL_ISO_BINARY_FUNCTIONS 177
1009+
#define SQL_LIMIT_ESCAPE_CLAUSE 178
1010+
#define SQL_NATIVE_ESCAPE_CLAUSE 179
1011+
#define SQL_RETURN_ESCAPE_CLAUSE 180
1012+
#define SQL_FORMAT_ESCAPE_CLAUSE 181
10131013
#define SQL_ISO_DATETIME_FUNCTIONS SQL_SQL92_DATETIME_FUNCTIONS
10141014
#define SQL_ISO_FOREIGN_KEY_DELETE_RULE SQL_SQL92_FOREIGN_KEY_DELETE_RULE
10151015
#define SQL_ISO_FOREIGN_KEY_UPDATE_RULE SQL_SQL92_FOREIGN_KEY_UPDATE_RULE

0 commit comments

Comments
 (0)