--- description: "SQLAllocConnect Function" title: "SQLAllocConnect Function | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: reference apiname: - "SQLAllocConnect" apilocation: - "sqlsrv32.dll" apitype: "dllExport" f1_keywords: - "SQLAllocConnect" helpviewer_keywords: - "SQLAllocConnect function [ODBC]" ms.assetid: ca119958-ff72-42d4-b0ac-b1ca3212c705 author: David-Engel ms.author: v-daenge --- # SQLAllocConnect Function **Conformance** Version Introduced: ODBC 1.0 Standards Compliance: Deprecated **Summary** In ODBC 3.*x*, the ODBC 2.*x* function **SQLAllocConnect** has been replaced by **SQLAllocHandle**. For more information, see [SQLAllocHandle Function](../../../odbc/reference/syntax/sqlallochandle-function.md). > [!NOTE] > For more information about what the Driver Manager maps this function to when an ODBC 2.*x* application is working with an ODBC 3.*x* driver, see [Mapping Deprecated Functions](../../../odbc/reference/appendixes/mapping-deprecated-functions.md) in Appendix G: Driver Guidelines for Backward Compatibility. ## See Also [ODBC API Reference](../../../odbc/reference/syntax/odbc-api-reference.md) [ODBC Header Files](../../../odbc/reference/install/odbc-header-files.md)