Edit online

How to Configure a Microsoft SQL Server Connection

Note: The support to configure a Microsoft SQL Server connection is available in the Enterprise edition only.

To configure a connection to a Microsoft SQL Server, follow these steps:

  1. Open the Preferences dialog box (Options > Preferences) and go to Data Sources.
  2. Click the New button in the Connections panel.

    The dialog box for configuring a database connection is displayed.

    Figure 1. Connection Configuration Dialog Box

  3. Enter a unique name for the connection.
  4. Select the SQL Server data source in the Data Source drop-down menu.
  5. Enter the connection details.
    1. Enter the URL of the SQL Server server.
      If you want to connect to the server using Windows integrated authentication, you must add ;integratedSecurity=true to the end of the URL. The URL will look like this:
      jdbc:sqlserver://localhost;instanceName=SQLEXPRESS;integratedSecurity=true;
      Note: For integrated authentication, leave the User and Password fields empty.
    2. Enter the user name for the connection to the SQL Server.
    3. Enter the password for the connection to the SQL Server.
  6. Click the OK button to finish the connection configuration.
  7. To view your connection, go to the Data Source Explorer view (if the view is not displayed, it can be opened by selecting it from the Window > Show View menu) or switch to the Database perspective.