Database Migration |
Database migration from SOWI Auftragsbearbeitung customer Bike Windlin to database Velo of web application Velo
Name MS SQL database: SOWIAuftragsbearbeitungBikeWindlin2021
Name MS Access database SOWI Auftragsbearbeitung: BikeShopWindlin_2.sowiauf
Database password SOWI Auftragsbearbeitung MDB: sowi
See also SQL scripts
This topic contains the following sections:
Open MDB in MS Access
Correcting table ADRVEL field adrvelDatumVon with SQL statement in a View:
UPDATE ADRVEL SET ADRVEL.adrvelDatumVon = #1/1/1990# WHERE (((ADRVEL.adrvelDatumVon) Is Null));
Correcting table ADRVEL field adrvelDatumBis with SQL statement in a View:
UPDATE ADRVEL SET ADRVEL.adrvelDatumBis = "#01/01/1990#"
WHERE (((ADRVEL.adrvelDatumBis) Is Null));
Check manual column adrvelDatumVon and adrvelDatumBis of date.
Open table ADRVEL and sort by column.
Correcting table VEL field velDatum with SQL statement in a View:
UPDATE VEL SET VEL.velDatum = #1/1/1990# WHERE (((VEL.velDatum) Is Null));
Check manual column velDatum of date.
Open table VEL and sort by column velDatum.
Handling in MS SQL Server Management Studio Has exist migrated database so create a backup and delete this. |
Rename database BikeShopWindlin_2.sowiauf to BikeShopWindlin_2.mdb
Open MS SQL Server Management Studio
Create a new empty database by name SOWIAuftragsbearbeitungBikeWindlin2021
Open content menu of new empty database (SOWIAuftragsbearbeitungBikeWindlin2021) in the Object Explorer.
Select menu: Tasks, Import Data....
Open dialog SQL Server Import and Export Wizard
Go to step dialog: Choose a Data Source
Choose Data Source: to Microsoft Access (Microsoft Jet Database Engine"
Select MDB file(button Browse...).
Setup import MDB button Acvanced...
Open dialog Datenverknüpfungseigenschaften
Register: Alle
Property: Jet OLEDB:Database Password
Set value: sowi
Register: Verbindung
Button Verbindung testen
Go to step dialog: Specify Table Copy or Query
Select option: Copy data from one or more tables or views
Go to step dialog: Select Source Tables and Views
Select all tables (ADR, ADRVEL, ART, AUF, RAP, VEL) to import
Button Edit Mappings... repeat all selected tables.
Open dialog: Column Mappings
Activate checkbox: Enable identity insert
Go to Finish
This procedure until all tables |
Select Table
Load Source
Check data
Clean up Source
This write a SQL statement in register SQL Script
Execute SQL Script
This write result of execute SQL script
Load Target
Check data
Drop Target
This write a SQL statement in register SQL Script
Execute SQL Script
This write result of execute SQL script
Create Target
This write a SQL statement in register SQL Script
Execute SQL Script
This write result of execute SQL script
Transfer
Migration of sales write directly to source database table Sales |
This write a SQL statement in register SQL Script
Execute SQL Script
This write result of execute SQL script
Clean up Target
This write a SQL statement in register SQL Script
Execute SQL Script
This write result of execute SQL script
This procedure is in single steps if the database cannot be deleted directly.
Example of message from Microsoft SQL Server Management Studio: |
Delete tables
Delete database