Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.29 KB

File metadata and controls

48 lines (34 loc) · 2.29 KB
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
SQL Server Native Client OLE DB provider, application creation
applications [SQL Server Native Client]
OLE DB, creating applications
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

Creating a SQL Server Native Client OLE DB Provider Application

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md]

Creating a [!INCLUDEssNoVersion] Native Client OLE DB provider application involves these steps:

  1. Establishing a connection to a data source.

  2. Executing a command.

  3. 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.

In This Section

See Also

SQL Server Native Client (OLE DB)