2 min read

With many database vendor products in the market and data intensive applications using them, it is often required to port the application to use the data or, migrate the data so that the application can use it. Migration of data is therefore one of the realities of the IT Industry. Some of the author’s previous articles on migration can be found at this link. You may find more if you do a search on his blog site.

Table to be migrated in SQL Server 2008

The following figure shows the Categories table in the Microsoft SQL Server 2008’s Management Studio that will be migrated to the Postgres database.

Entity Framework Tutorial

Creating a database in Postgres Studio

Right click Databases node in the Advanced Server 8.3 and click on New Database… menu as shown.

Entity Framework Tutorial

The New Database… window gets displayed as shown. Create an empty database PGNorthwind in Postgres Studio by entering information shown in the next figure.

Entity Framework Tutorial

This creates a new database and related objects as shown in the next figure.

Entity Framework Tutorial

This also creates the script in the Properties pane as shown. Review the properties. The database may be dropped using the Drop Database statement.

Entity Framework Tutorial

Starting the Migration Studio

Click on Start | All Programs | Postgres Advanced Server 8.3 to display the drop-down menu as shown.

Entity Framework Tutorial

Click on the Migration Studio drop-down item. This opens the EnterpriseDB Migration Studio 8.3(Migration Studio for the rest of the tutorial) with a modal form with the title Edit Server Advanced Server 8.3(localhost:5432). This is the server we installed in the previous tutorial.

Entity Framework Tutorial

Enter the User Name and Password and click OK. You will get a message displaying the result as shown in the next figure.

Entity Framework Tutorial

Click OK to both the open windows and the EnterpriseDB Migration Studio shows up as shown here.

Entity Framework Tutorial

Click on the File in the main menu on the Migration Studio and pick Add Server. This brings up the Add Server window with a default as shown.

Entity Framework Tutorial

LEAVE A REPLY

Please enter your comment!
Please enter your name here