not able to export database from azure database to onpremises

Naga Durga Devi Kannuri - Admin 40 Reputation points
2025-07-25T08:11:06.2833333+00:00

Hi,

Iam not able to migrate database from azure database to on premises server, error is

TITLE: Microsoft SQL Server Management Studio ------------------------------

 

One or more unsupported elements were found in the schema used as part of a data package. Error SQL70590: Procedure: [dbo].[restart_sequence_gen2] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Must declare the variable or parameter "@srcDb" Error SQL71623: Model translation is not allowed because the model contains 1 errors. (Microsoft.SqlServer.Dac)

 

------------------------------ BUTTONS:

 

OK ------------------------------

please suggest solution.

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 124.2K Reputation points MVP Volunteer Moderator
    2025-07-25T08:18:46.3233333+00:00

    I suggest that you script out the offending procedure, drop it and try again.

    Or take a closer look at the procedure and see if you can understand the error. The error sounds kind of funny, but if the collation at one point was case-insensitive and later was changed to case-sensitive, that could explain it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.