Error in the connection between sql and ODBC that presents the following error

romulo henrique 0 Reputation points
2023-04-27T01:09:13.69+00:00

Captura de tela 2023-04-26 020133

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
SQL Server Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2023-04-27T05:54:13.7833333+00:00

    Hi @romulo henrique,

    For an ODBC application to communicate with an instance of Microsoft SQL Server, it must allocate environment and connection handles and connect to the data source. After a connection is established, the application can send queries to the server and process any result sets. When the application has finished using the data source, it disconnects from the data source and frees the connection handle. When the application has freed all its connection handles, it frees the environment handle.

    An application can connect to any number of data sources. The application can use a combination of drivers and data sources, the same driver and a combination of data sources, or even the same driver and multiple connections to the same data source.

    You can download SQL Server Native Client ODBC samples from the SQL Server Downloads.

    Also check it out here: https://www.sqlshack.com/how-to-configure-a-linked-server-using-the-odbc-driver/

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.