azure-sql-database

Unable to view tables after copying database to another Azure SQL Server


I have copied our database to another Azure SQL database, see the screenshot. However, when I access the database, I'm unable to view the tables. I can only view system tables. Can someone let me know any additional steps I need to make when copying an Azure SQL database to another Azure SQL Server please?

enter image description here

I would appear I can't login to the database now that I have moved/copied it over to a new Azure SQL Server, but I don't understand why?


Solution

  • Unable to View Tables After Copying Database to Another Azure SQL Server

    I tested this scenario in my environment using the 'Copy' option in the Azure SQL Database. I created a new server by replacing the existing SQL Server name. Both the server deployment and the database copy operation completed successfully, and I was able to view the tables and data in the copied database.

    Steps I followed:

    Open the existing SQL database in the Azure portal.

    Click on the Copy option.

    You will be redirected to the Review + Create page.

    Specify the target server name, database name, and compute + storage settings.

    Verify the details entered, then click Review + Create to initiate the copy operation.

    Screenshot Reference: enter image description here

    enter image description here

    enter image description here

    After completion, the new server and database were successfully created, and I was able to access all tables and data without issues.

    Screenshot Reference:enter image description here