| title | SQL Native Client OLE DB provider app | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/17/2017 | |||
| ms.prod | sql | |||
| ms.prod_service | database-engine, sql-database, sql-data-warehouse, pdw | |||
| ms.reviewer | ||||
| ms.technology | native-client | |||
| ms.topic | reference | |||
| helpviewer_keywords |
|
|||
| ms.assetid | f3ae6815-f32d-4913-a1a2-2ba2f20cfd88 | |||
| author | markingmyname | |||
| ms.author | maghan | |||
| monikerRange | >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDEappliesto-ss-asdb-asdw-pdw-md]
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.