Setup-Database-Connection
The database used in this tutorial has been set up on Microsoft Azure.
This tutorial will cover how to build the connection to a(n) SQL server with three different methods — the Windows 'Data Link Properties', a Connection String, and the ODBC driver. The ODBC driver offers the fastest connection performance, but it requires the ODBC driver to be installed on your system. The procedure is based on Origin 2025b.
This tutorial will show you how to:
Server name=olab.DATABASE.windows.net USER Name=Olabts Password=Origin@2024
Click the Test Connection button to make sure the connection is successful.
Make sure to check Allow saving password to prevent additional password prompts.
Provider=SQLOLEDB.1;Password=Origin@2024;Persist Security Info=TRUE;USER ID=olabts;Initial Catalog=sample1;DATA SOURCE=olab.DATABASE.windows.net
Click the Test button to make sure the connection is successful.
The ODBC driver method requires you to have the ODBC driver installed. You can download and install the latest driver here.
Server Driver=ODBC Driver 18 FOR SQL Server Server=olab.DATABASE.windows.net Port=1433 USER Name=Olabts Password=Origin@2024
If it fails to connect to the database, go to this page to download and install the latest ODBC SQL driver.