Connecting to Azure SQL Database (AccessToSQL) - SQL Server (2024)

  • Article

To migrate Access databases to Azure SQL Database, you must connect to the target instance of Azure SQL Database. When you connect, SQL Server Migration Assistant (SSMA) obtains metadata about all the databases in the instance of Azure SQL Database and displays database metadata in the Azure SQL Database Metadata Explorer. SSMA stores information about which instance of Azure SQL Database you are connected to, but doesn't store passwords.

Your connection to Azure SQL Database stays active until you close the project. When you reopen the project, you must reconnect to Azure SQL Database if you want an active connection to the server. You can work offline until you load database objects into Azure SQL Database and migrate data.

Metadata about the instance of Azure SQL Database isn't automatically synchronized. Instead, to update the metadata in Azure SQL Database Metadata Explorer, you must manually update the Azure SQL Database metadata. For more information, see the Synchronize Azure SQL Database metadata section in this article.

Required Azure SQL Database permissions

The account that is used to connect to Azure SQL Database requires different permissions depending on the actions that the account performs:

Establish an Azure SQL Database connection

Before you convert Access database objects to Azure SQL Database syntax, you must establish a connection to the instance of Azure SQL Database where you want to migrate the Access database or databases.

When you define the connection properties, you also specify the database where objects and data will be migrated. You can customize this mapping at the Access schema level after you connect to Azure SQL Database. For more information, see Mapping Access databases to SQL Server schemas.

Important

Before you try to connect to Azure SQL Database, make sure that your IP address is allowed through the Azure SQL Database firewall.

To connect to Azure SQL Database:

  1. On the File menu, select Connect to SQL Azure (this option is enabled after the creation of a project).

    If you previously connected to Azure SQL Database, the command name is Reconnect to SQL Azure.

  2. In the connection dialog box, enter or select the server name of Azure SQL Database.

  3. Enter, select, or Browse the Database name.

  4. Enter or select Username.

  5. Enter the Password.

  6. SSMA recommends encrypted connection to Azure SQL Database.

  7. Select Connect.

If there are no databases in the Azure SQL Database, you can create the first database using Create Azure Database option that appears on the select of Browse button.

Metadata about databases in Azure SQL Database isn't automatically updated. The metadata in Azure SQL Database Metadata Explorer is a snapshot of the metadata when you first connected to Azure SQL Database, or the last time that you manually updated metadata. You can manually update metadata for all databases, or for any single database or database object. To synchronize metadata:

  1. Make sure that you are connected to Azure SQL Database.

  2. In Azure SQL Database Metadata Explorer, select the check box next to the database or database schema that you want to update.For example, to update the metadata for all databases, select the box next to Databases.

  3. Right-click Databases, or the individual database or database schema, and then select Synchronize with Database.

Refresh Azure SQL Database metadata

If Azure SQL Database schemas change after you connect, you can refresh metadata from the server.

To refresh Azure SQL Database metadata:

  • In Azure SQL Database Metadata Explorer, right-click Databases, and then select Refresh from Database.

Reconnect to Azure SQL Database

Your connection to Azure SQL Database stays active until you close the project. When you reopen the project, you must reconnect to Azure SQL Database if you want an active connection to the server. You can work offline until you load database objects into Azure SQL Database and migrate data.

The procedure for reconnecting to Azure SQL Database is the same as the procedure for establishing a connection.

See also

  • Migrating Access databases to SQL Server

Next steps

The next step in the migration depends on your project needs:

  • Mapping Access databases to SQL Server schemas
  • Setting project options
  • Mapping source and target data types
  • Converting Access databases
Connecting to Azure SQL Database (AccessToSQL) - SQL Server (2024)
Top Articles
Why is Data Analysis Important for Businesses
What is Stock Split and How Does It Affect Stock Prices? | RoboMarkets Blog
jazmen00 x & jazmen00 mega| Discover
Algebra Calculator Mathway
Midflorida Overnight Payoff Address
Epaper Pudari
Oriellys St James Mn
4Chan Louisville
Yesteryear Autos Slang
Gas Station Drive Thru Car Wash Near Me
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
U/Apprenhensive_You8924
Samsung Galaxy S24 Ultra Negru dual-sim, 256 GB, 12 GB RAM - Telefon mobil la pret avantajos - Abonament - In rate | Digi Romania S.A.
Walmart Windshield Wiper Blades
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
Buy PoE 2 Chaos Orbs - Cheap Orbs For Sale | Epiccarry
Craigslist Southern Oregon Coast
The Pretty Kitty Tanglewood
Hennens Chattanooga Dress Code
Evil Dead Rise - Everything You Need To Know
Busted News Bowie County
What Are The Symptoms Of A Bad Solenoid Pack E4od?
Ecampus Scps Login
Bill Remini Obituary
Craiglist.nj
Helpers Needed At Once Bug Fables
Tuw Academic Calendar
EVO Entertainment | Cinema. Bowling. Games.
Cal State Fullerton Titan Online
Uno Fall 2023 Calendar
Sony Wf-1000Xm4 Controls
Frommer's Belgium, Holland and Luxembourg (Frommer's Complete Guides) - PDF Free Download
Japanese Pokémon Cards vs English Pokémon Cards
Appleton Post Crescent Today's Obituaries
Naya Padkar Newspaper Today
“Los nuevos desafíos socioculturales” Identidad, Educación, Mujeres Científicas, Política y Sustentabilidad
Dr Adj Redist Cadv Prin Amex Charge
Saybyebugs At Walmart
Walmart Pharmacy Hours: What Time Does The Pharmacy Open and Close?
Nid Lcms
Jetblue 1919
Emily Tosta Butt
Gym Assistant Manager Salary
The Wait Odotus 2021 Watch Online Free
3 Zodiac Signs Whose Wishes Come True After The Pisces Moon On September 16
Nami Op.gg
Tacos Diego Hugoton Ks
Value Village Silver Spring Photos
Where Is Darla-Jean Stanton Now
Naughty Natt Farting
Ravenna Greataxe
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5972

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.