Handle schema differences
- Last UpdatedSep 18, 2024
- 1 minute read
If there are schema differences between your on-premises tables and the cloud tables, a general approach to work around this is:
-
Use the Bulk Copy Program (BCP) to import the data into temporary tables with the same schema as your existing database.
-
Move the data into the new tables created from the BACPAC file, accounting for the differences in schemas. Some examples of differences are:
-
Changing a Name to an ID.
-
Filling in non-nullable columns.
-
-
Migrate the data from the tables in the database based on the BACPAC file to the cloud production database using the measDataLoader utility.