| title | Create an OLE DB App | |||
|---|---|---|---|---|
| description | Creating a SQL Server Native Client OLE DB Provider Application | |||
| author | markingmyname | |||
| ms.author | maghan | |||
| ms.date | 03/17/2017 | |||
| ms.service | sql | |||
| ms.subservice | native-client | |||
| ms.topic | reference | |||
| helpviewer_keywords |
|
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
Creating a [!INCLUDEssNoVersion] Native Client OLE DB provider application involves these steps:
-
Establishing a connection to a data source.
-
Executing a command.
-
Processing the results.
Note
When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time. Avoid storing credentials in a file. If you must persist credentials, you should encrypt them with the Win32 cryptoAPI.