What is the Azure SQL Database
Azure SQL Database
This article describes how to connect Tableau to an Azure SQL database and how to set up the data source.
First, collect this connection information:
Fully qualified name of the server hosting the database you are trying to connect to. Example: myserver-20171113.database.windows.net
(Optional) Name of the database
Username and Password
Active Directory password
Azure Active Directory via OAuth (integrated)
Note: To use this option, your system administrator must enable "User Consent" in your organization's Azure Active Directory tenant. For more information, see Microsoft's documentation on configuring user consent.
The credentials depend on the authentication method selected and can include the following:
Username and Password
Active Directory username and password
Azure Active Directory Instance URL
Do you want to connect to an SSL server?
Do you want to set the database isolation level with respect to "Read Uncommitted Data"?
(Optional) Initial SQL statement that is run every time Tableau connects
Establishing the connection and setting up the data source
- Start Tableau and select under Connect the option Azure SQL database out. A comprehensive list of data connections is available if you click under With a server the option More choose. Then do the following:
- Enter the URL of the server you want to connect to.
- (Optional) Enter the name of a database if you want to connect to a contained database.
- Specify how you want to log in to the server - with a username and password, with an Active Directory username and password, or with an integrated Azure Active Directory login via OAuth.
- Enter your username and password.
If you are using Azure Active Directory through OAuth, enter an Azure Active Directory Instance URL. For more information, see Microsoft's documentation on endpoints (Link opens in a new window).
Note: If your organization uses more than one Azure Active Directory tenant, the Azure Active Directory instance URL must match the tenant in which the database is configured. You can get the tenant ID in your Azure portal or from your Azure administrator.
- When connecting to an SSL server, select the Require SSL check box.
- Specify whether to: Read uncommitted data. This option allows Tableau to run at the isolation level without read access. Long queries from Tableau - including extract updates - can block the database and delay transactions. Select this option to allow queries to read rows that have been modified by other transactions, even if they have not yet been committed. If this option is cleared, Tableau will use the default isolation level provided by the database.
- (Optional) Select Initial SQL Dates to specify an SQL command to run at the start of every connection, such as: For example, when you open a workbook, refresh an extract, sign in to Tableau Server, or publish content to Tableau Server. For more information, see Executing Initial SQL.
- Select Sign In.
If Tableau cannot connect, verify that your credentials are correct. If you still cannot connect, the computer cannot find the server. Contact your network administrator or database administrator.
On the data sources page, do the following:
(Optional) Select the default data source name at the top of the page, then enter a unique data source name to use in Tableau. For example, you can use a data source naming convention to help other users determine which data source to connect.
Select a database from the Database drop-down list.
Under Table, select a table or type part of its name in the search box to find the table.
You can also specify a stored procedure in the database. For more information about stored procedures and a list of restrictions specific to SQL Server databases, see Using a Stored Procedure.
Drag the table onto the work area, then click the sheet tab to start your analysis.
Use custom SQL to connect to a specific query rather than the entire data source. For more information, see Connect to a Custom SQL Query.
Note: The Microsoft SQL Server TIME data type is not supported in Tableau Desktop. Fields of this data type will not be imported and will not appear in Tableau Desktop. TIME data type fields do not appear in Tableau Desktop when contained in stored procedures. For more information, see Using a Saved Procedure.
Sign in to a Mac
If you are using Tableau Desktop on a Mac, enter a fully qualified domain name (for example, "mydb.test.ourdomain.lan") instead of a relative domain name (for example, "mydb" or "mydb.test").
Alternatively, you can add the domain to the list of search domains for the Mac computer so that you only need to provide the server name to connect. To update the list of search domains, go to System Preferences> Network> Advanced, then open the DNS tab.
Note: Azure Active Directory over OAuth (built-in) is not supported on a Mac
- Do lawyers have a conscience
- It takes effort to gain wisdom
- What are nail art techniques and tricks
- When do birds make spring nests
- How do I talk to girl 2
- Which language is faster Python or NET
- Every opinion is valuable
- Why is there an earth
- How do stocks differ from mutual funds?
- Can we have moringa and ashwagandha together?
- How is the SAP technology at Capgemini
- How dangerous is snorting
- How does booking work in professional wrestling
- What is the most successful song by REO Speedwagons
- What are the socially accepted wrong things
- What are characteristics of bra
- How do I use Leaflet JS
- Can a real vacuum create a universe
- Intensive cultivation is good for agriculture
- What's a better advertising method than geofilters
- What components does this bootstrap template use
- How long should user interviews last
- How do I lubricate a ceiling fan
- What is the most important daily vitamin
- What do you know about Albania
- Posting forums on SEO really works
- What are some New Year poems
- How do you do Marathi sweet Shira
- What is the new forex trading tool
- What is specific resistance 2
- Are modern lie detectors inaccurate or somewhat unreliable?
- Can quantum computers destroy cryptography?
- Why doesn't my bearded dragon eat
- My shy boy gushes like me