@Hang Yu , you could refer to the Microsoft Article connect-to-an-odbc-data-source-sql-server-import-and-export-wizard to know how to connect ODBC by using connection string.
Example Connection string in the article:
Driver={ODBC Driver 13 for SQL Server};server=localhost;database=WideWorldImporters;trusted_connection=Yes;
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.