microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
122 stars 40 forks source link

Add a way to enumerate all connection string keywords #146

Open taozuhong opened 2 years ago

taozuhong commented 2 years ago

To solve this issue, I could find two ways:

  1. Get keywords via SQLGetConnectAttr with attribute SQL_ATTR_KEYWORDS
  2. Add a new api SQLGetConnectKeys, then return a string buffer with comma or other character.

I think the best way to do it is adding a new API.