Translate

Showing posts with label PostgreSQL Database in Windows System. Show all posts
Showing posts with label PostgreSQL Database in Windows System. Show all posts

Friday, July 29, 2022

How to Import Data (tables) from Postgresql to MS Access Database using ODBC : Step by Step Tutorial

 Import Data (tables) from Postgresql to MS Access Database using ODBC : Step by Step Tutorial for data migration from one Database System to Another Database System.

Objective :- Transfer data tables form PostgresSQL database to MS Access Database.

Step1:- Create a Blank MS Access Database in your Windows system.

Step2:- Open that newly created Access database and go  the External Data tab. Next Click on the More button. Where you will find lots of options. Select the ODBC_databse form that list.

 

Import to ODBC Database

Step 2: Select the source and destination of data. Select the option "Import the Source Data into a new table in the current database", and click OK.


Step 2 : import the source data

Step3: A new Popup window will appear on the screen. Click on the "Machine Data Source" tab. Here you will see the all DNS , data source names . We will select for example "BE" data source name and click OK.


Step 3 , Select Data Source Name


Step 4: Import Objects. In this step you will find all the tables under the BE database. Click on the SELECT ALL button to select all the tables then Press the OK.

 

Import Object Tables

 Step5: Get External Data- ODBC database.All objects are imported successfully. Press the button SAVE IMPORT.

Get External ODBC Data

Step 7: Your data has been successfully imported form the PostgreSQL database server to your local Windows PC's Microsoft Access Database. Enjoy !!

Successfully imported database form PostgreSQl to Local Access Database


Saturday, July 23, 2022

How to create user DSN with ODBC driver in Windows System for PostgresSQL Database

 How to create user DSN with ODBC driver in Windows System : Step by Step Tutorial Guide :


Step 1: Go to Windows start button -->Click Settings --->Click on Control Panel

Step 2: In control panel go to the Administrative Tools

Step 3: Double Click on the Data Source(ODBC) icon. A small popup screen with lots of tabs will be appear on the screen.

DSN Data Source Name in Windows

Step 4: Click on the User DSN tab.

Step 5: Now click on the ADD button. Now you can see lots of ODBC drivers in the List. Select the appropriate Driver form the List, for example here we chose the PostgresSQL ODBC driver.

Step 6: Click on the Finish button.

ODBC PostgresSQL Database Connection

Step 7: Now give the data source name in the appropriate box. Similarly give the database name, ip address of the database server (may be localhost or other private IP address ),then Give the User Name and Password of the database in the appropriate box.

Step 8: Press the TEST button to check the connection, whether you put all the parameters correctly or not. If everything is OK then it will give you a successful message.