microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
121 stars 40 forks source link

Should we define a bitmask for supported escape clauses? #5

Open mikepizzo opened 8 years ago

mikepizzo commented 8 years ago

Today clients have to ask for each escape separately. It would be nice to have a way to get back all of the supported escape clauses in one request.

Note that some of the escape clauses have additional options that may be conditionally supported (i.e., limit optionally supports skip). Some of these could be "flattened out" in the escape capabilities bitmask, for others the bitmask would indicate that it was supported at some level, and the app could still use the escape-specific GetInfo to get more detailed information about the support.