The connect string specifies connection attributes as a list of semi-colon (";") delimited key=value pairs. Application-specific setup panels collect details which are then used to automatically construct the connect string. Applications may allow users to specify hand-made connection strings to avoid ODBC DSN configuration and/or connection prompts during execution. The parameters that can be used include --
The simplest connect string will specify only the PROVIDER and DSN. If you leave out the DSN, you can specify the DRIVER and provide a full ODBC connect string. Other connection attributes will depend on the ODBC Driver.
The connection string should also contain a key-value pair for the Extended Properties keyword, which is used to control the cursor library selection and rowset bookmarking --
;Extended Properties="Cursors={Driver|ODBC|IfNeeded};BookmarkDefault={On|Off}";
Example connection strings --