--- 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 [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] Creating a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] 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](https://go.microsoft.com/fwlink/?LinkId=9504). ## In This Section - [Establishing a Connection to a Data Source](../../relational-databases/native-client-ole-db-provider/establishing-a-connection-to-a-data-source.md) - [Executing a Command](../../relational-databases/native-client-ole-db-provider/executing-a-command.md) - [Processing Results](../../relational-databases/native-client-ole-db-provider/processing-results.md) - [About OLE DB Properties](../../relational-databases/native-client-ole-db-provider/about-ole-db-properties.md) - [Using the OUTPUT Clause with OLE DB in SQL Server Native Client](../../relational-databases/native-client-ole-db-provider/using-the-output-clause-with-ole-db-in-sql-server-native-client.md) ## See Also [SQL Server Native Client (OLE DB)](../../relational-databases/native-client/ole-db/sql-server-native-client-ole-db.md)