{"id":6815,"date":"2019-04-22T12:25:36","date_gmt":"2019-04-22T12:25:36","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=6815"},"modified":"2019-09-11T10:20:25","modified_gmt":"2019-09-11T10:20:25","slug":"ssis-load-data-postgresql-from-excel-file","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/","title":{"rendered":"Load data into PostgreSQL from Excel file using SSIS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6816 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\" alt=\"PostgreSql Destination\" width=\"100\" height=\"100\" \/><\/a><br \/>\nIn this post, we will learn How to <strong>Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination<\/strong>.\u00a0 We will use\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\">SSIS PowerPack<\/a>\u00a0to connect PostgreSQL. This article also covers how to read Excel file in SSIS.<\/p>\n<p><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-postgresql-destination\/\" target=\"_blank\" rel=\"noopener\">SSIS PostgreSQL Destination<\/a>\u00a0can be used to perform bulk insert in PostgreSQL Table from any data source using SSIS.<\/p>\n<p>In nutshell,\u00a0this post will focus on how to Read Excel file and load data into PostgreSQL Table.<\/p>\n<h2>Prerequisite<\/h2>\n<ol>\n<li>First, you will need to have SSIS installed<\/li>\n<li>Secondly, make sure to have SSDT<\/li>\n<li>Thirdly, You have obtained PostgreSQL Credential.<\/li>\n<li>Finally, do not forget to install\u00a0ZappySys\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS PowerPack<\/a><\/li>\n<\/ol>\n<p><strong>Components Mentioned in this article<\/strong><br \/>\n<div class=\"su-table su-table-alternate\">\n<table style=\"width: 407px\">\n<tbody>\n<tr style=\"height: 30px\">\n<td style=\"width: 33.2955px;height: 40px\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/postgreSQL-destination\/ssis-PostgreSql-Destination.png?w=100&amp;ssl=1\" alt=\"SSIS Amazon S3 XML File Source\" width=\"32\" height=\"32\" \/><\/td>\n<td style=\"width: 357.841px;height: 40px\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-postgresql-destination\/\" target=\"_blank\" rel=\"noopener\">PostgreSQL Destination<\/a><\/td>\n<\/tr>\n<tr style=\"height: 30px\">\n<td style=\"width: 33.2955px;height: 40px\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/excel-source\/ssis-excel-file-source.png?w=720&amp;ssl=1\" alt=\"SSIS Amazon S3 CSV File Source\" width=\"32\" height=\"32\" \/><\/td>\n<td style=\"width: 357.841px;height: 40px\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-excel-file-source\/\" target=\"_blank\" rel=\"noopener\">Excel Source<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2><span id=\"What_is_PostgreSQL\">What is PostgreSQL?<\/span><\/h2>\n<p>PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads. The origins of PostgreSQL date back to 1986 as part of the\u00a0<a href=\"https:\/\/www.postgresql.org\/docs\/current\/history.html\" target=\"_blank\" rel=\"noopener\">POSTGRES<\/a>\u00a0project at the University of California at Berkeley and has more than 30 years of active development on the core platform.<\/p>\n<p>PostgreSQL has earned a strong reputation for its proven architecture, reliability, data integrity, robust feature set, extensibility, and the dedication of the open source community behind the software to consistently deliver performant and innovative solutions. PostgreSQL runs on\u00a0<a href=\"https:\/\/www.postgresql.org\/download\/\" target=\"_blank\" rel=\"noopener\">all major operating systems<\/a>, has been\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/ACID\" target=\"_blank\" rel=\"noopener\">ACID<\/a>-compliant since 2001, and has powerful add-ons such as the popular\u00a0<a href=\"https:\/\/postgis.net\/\" target=\"_blank\" rel=\"noopener\">PostGIS<\/a>\u00a0geospatial database extender. It is no surprise that PostgreSQL has become the open source relational database of choice for many people and organisations.<\/p>\n<p><a href=\"https:\/\/www.postgresql.org\/docs\/current\/tutorial.html\" target=\"_blank\" rel=\"noopener\">Getting started<\/a>\u00a0with using PostgreSQL has never been easier \u2013 pick a project you want to build, and let PostgreSQL safely and robustly store your data.<\/p>\n<h2>Getting Started<\/h2>\n<p>In order to start, we will show several examples of how to connect the excel file and read data from the excel worksheet. ZappySys includes an <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-excel-file-source\/\" target=\"_blank\" rel=\"noopener\">SSIS Excel File Source Connector<\/a> that will help you in reading excel sheet data from Excel File. Here we are showing you is, How to Load Excel File data in PostgreSQL using <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-postgresql-destination\/\" target=\"_blank\" rel=\"noopener\">SSIS PostgreSQL Destination<\/a>.<\/p>\n<h2>Getting Started &#8211; Read Excel File in SSIS<\/h2>\n<p>Let\u00b4s start with an example. Let&#8217;s use our\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-excel-file-source\/\" target=\"_blank\" rel=\"noopener\">SSIS Excel File Source Connector<\/a>, we will read data from Microsoft Excel File.<\/p>\n<ol>\n<li>First of all, Drag and drop Data Flow Task from SSIS Toolbox and double click it to edit.<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/09\/ssis-drag-drop-data-flow-task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7934\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/09\/ssis-drag-drop-data-flow-task.png\" alt=\"Drag and Drop SSIS Data Flow Task from SSIS Toolbox\" width=\"460\" height=\"155\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/09\/ssis-drag-drop-data-flow-task.png 460w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/09\/ssis-drag-drop-data-flow-task-300x101.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/a><\/li>\n<li>Now Drag and Drop ZS\u00a0Excel Source from the SSIS Toolbox.<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-add-excel-source-task.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"369\" class=\"wp-image-6657 size-full aligncenter\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-add-excel-source-task.png\" alt=\"&quot;&lt;yoastmark\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-add-excel-source-task.png 667w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-add-excel-source-task-300x166.png 300w\" sizes=\"(max-width: 667px) 100vw, 667px\" \/><\/a><\/li>\n<li>Let&#8217;s Double Click on Excel Source for edit and select New Connection and click on New button.\n<div id=\"attachment_6658\" style=\"width: 725px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-edit-excel-file-source.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6658\" class=\"wp-image-6658 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-edit-excel-file-source.png\" alt=\"ssis-edit-excel-file-source\" width=\"715\" height=\"692\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-edit-excel-file-source.png 715w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-edit-excel-file-source-300x290.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/a><p id=\"caption-attachment-6658\" class=\"wp-caption-text\">Edit Excel Source<\/p><\/div><\/li>\n<li>Now select the excel file path in and test connection in opened excel connection manager window and click on OK.\n<div id=\"attachment_6616\" style=\"width: 763px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/Select-Excel-File-For-Connection.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6616\" class=\"wp-image-6616 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/Select-Excel-File-For-Connection.png\" alt=\"Select Excel File For Connection\" width=\"753\" height=\"568\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/Select-Excel-File-For-Connection.png 753w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/Select-Excel-File-For-Connection-300x226.png 300w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/a><p id=\"caption-attachment-6616\" class=\"wp-caption-text\">Select Excel File For Connection<\/p><\/div><\/li>\n<li>Let&#8217;s read the Excel Workbook data using table mode and select sheet to read data from that excel sheet.\n<div id=\"attachment_6659\" style=\"width: 808px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-table.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6659\" class=\"wp-image-6659 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-table.png\" alt=\"ssis-excel-file-source-access-mode-table\" width=\"798\" height=\"669\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-table.png 798w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-table-300x252.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-table-768x644.png 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/a><p id=\"caption-attachment-6659\" class=\"wp-caption-text\">Load Excel Sheet Data using Access mode as a Table<\/p><\/div><\/li>\n<li>\u00a0We can also read Excel Workbook using SQL Query mode and filter the data.\n<div id=\"attachment_6660\" style=\"width: 765px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6660\" class=\"wp-image-6660 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query.png\" alt=\"Read from Excel File using SQL Query Mode\" width=\"755\" height=\"664\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query.png 755w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query-300x264.png 300w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/a><p id=\"caption-attachment-6660\" class=\"wp-caption-text\">Read from Excel File using SQL Query Mode<\/p><\/div><\/li>\n<li>You can do various other things also in the query mode, find our various example here to read Excel Workbook using SQL Query mode.\n<div id=\"attachment_6661\" style=\"width: 577px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query-example.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6661\" class=\"wp-image-6661 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query-example.png\" alt=\"Read from Excel File using SQL Query Mode Examples\" width=\"567\" height=\"435\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query-example.png 567w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-excel-file-source-access-mode-query-example-300x230.png 300w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/a><p id=\"caption-attachment-6661\" class=\"wp-caption-text\">Read from Excel File using SQL Query Mode Examples<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>\u00a0That&#8217;s it we are ready to load excel file data to PostgreSQL.<\/li>\n<\/ol>\n<h2>Load Excel File data into PostgreSQL<\/h2>\n<p>Now let&#8217;s look at how to load data into target like PostgreSQL database Table.<\/p>\n<ol>\n<li>First of all, let&#8217;s create the PostgreSQL Database Connection From Connection Manager.<\/li>\n<li>Right click in connection Window and select New Connection.\n<div id=\"attachment_4382\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/ssis-connection-manager-create-new-connection-e1531164541889.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4382\" class=\"size-medium_large wp-image-4382\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/07\/ssis-connection-manager-create-new-connection-768x462.png\" alt=\"Connection Manager Window: Create New Connection\" width=\"720\" height=\"433\" \/><\/a><p id=\"caption-attachment-4382\" class=\"wp-caption-text\">Connection Manager Window: Create New Connection<\/p><\/div><\/li>\n<li>Select the ZS-POSTGRESQL Connection type from the Connection Manager Window.\n<div id=\"attachment_6820\" style=\"width: 532px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-Select-PostgreSQL-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6820\" class=\"size-full wp-image-6820\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-Select-PostgreSQL-connection.png\" alt=\"Select ZS-PostgreSQL Connection\" width=\"522\" height=\"507\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-Select-PostgreSQL-connection.png 522w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-Select-PostgreSQL-connection-300x291.png 300w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/a><p id=\"caption-attachment-6820\" class=\"wp-caption-text\">Select ZS-PostgreSQL Connection<\/p><\/div><\/li>\n<li>Let\u2019s configure the connection for PostgreSQL Database and Test the Connection.\n<div id=\"attachment_6821\" style=\"width: 576px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSQL-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6821\" class=\"size-full wp-image-6821\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSQL-connection.png\" alt=\"Configure PostgreSQL Connection\" width=\"566\" height=\"579\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSQL-connection.png 566w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSQL-connection-293x300.png 293w\" sizes=\"(max-width: 566px) 100vw, 566px\" \/><\/a><p id=\"caption-attachment-6821\" class=\"wp-caption-text\">Configure PostgreSQL Connection<\/p><\/div><\/li>\n<li>Now lets&#8217; Drag and Drop PostgreSQL Destination from SSIS Toolbox Inside the Data Flow.\n<div id=\"attachment_6823\" style=\"width: 722px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-drag-drop-PostgreSQL-Destination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6823\" class=\"size-full wp-image-6823\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-drag-drop-PostgreSQL-Destination.png\" alt=\"\" width=\"712\" height=\"144\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-drag-drop-PostgreSQL-Destination.png 712w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-drag-drop-PostgreSQL-Destination-300x61.png 300w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><\/a><p id=\"caption-attachment-6823\" class=\"wp-caption-text\">Add PostgreSQL Destination<\/p><\/div><\/li>\n<li>Connect our Source component to PostgreSQL Destination.\n<div id=\"attachment_6824\" style=\"width: 268px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-excel-source-to-PostgreSQL-Destination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6824\" class=\"size-full wp-image-6824\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-excel-source-to-PostgreSQL-Destination.png\" alt=\"Connect Source Component to PostgreSQL Destination\" width=\"258\" height=\"242\" \/><\/a><p id=\"caption-attachment-6824\" class=\"wp-caption-text\">Connect Source Component to PostgreSQL Destination<\/p><\/div><\/li>\n<li>Double click PostgreSQL Destination to configure it.\u00a0And Select the PostgreSQL Connection.\n<div id=\"attachment_6826\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-connection-PostgreSql-Destination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6826\" class=\"size-medium_large wp-image-6826\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-connection-PostgreSql-Destination-768x699.png\" alt=\"And Select the PostgreSQL Connection\" width=\"720\" height=\"655\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-connection-PostgreSql-Destination-768x699.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-connection-PostgreSql-Destination-300x273.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-connection-PostgreSql-Destination.png 785w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-6826\" class=\"wp-caption-text\">Select the PostgreSQL Connection<\/p><\/div><\/li>\n<li>Furthermore, go to Component Properties Tab and Select the PostgreSQL Table to\u00a0Load Excel File data into it.\n<div id=\"attachment_6827\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-table-PostgreSQL-Destination.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6827\" class=\"size-medium_large wp-image-6827\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-table-PostgreSQL-Destination-768x742.png\" alt=\"Select The PostgreSQL Table\" width=\"720\" height=\"696\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-table-PostgreSQL-Destination-768x742.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-table-PostgreSQL-Destination-300x290.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-select-table-PostgreSQL-Destination.png 777w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-6827\" class=\"wp-caption-text\">Select The PostgreSQL Table<\/p><\/div><\/li>\n<li>Finally, let&#8217;s map the columns from the Column Mappings Tab.\n<div id=\"attachment_6829\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination-column-mappings.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6829\" class=\"size-medium_large wp-image-6829\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination-column-mappings-768x699.png\" alt=\"PostgreSql Destination : Column Mappings\" width=\"720\" height=\"655\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination-column-mappings-768x699.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination-column-mappings-300x273.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination-column-mappings.png 785w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-6829\" class=\"wp-caption-text\">PostgreSql Destination : Column Mappings<\/p><\/div><\/li>\n<li>That&#8217;s it we are ready to go. Finally execute the package and it will insert the excel file data into the\u00a0PostgreSQL Table.<\/li>\n<\/ol>\n<h2><span id=\"Conclusion\">Conclusion<\/span><\/h2>\n<p>Above all, in this blog, we learned how to Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination using SSIS Pack. Therefore we used <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-excel-file-source\/\" target=\"_blank\" rel=\"noopener\">Excel File Source Connector<\/a>\u00a0to read the Excel file and load data into PostgreSQL using <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-postgresql-destination\/\" target=\"_blank\" rel=\"noopener\">SSIS PostgreSQL Destination<\/a>. You can <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\">download SSIS PowerPack here<\/a> to try many other scenarios not discussed in this blog along with 70+ other components.<\/p>\n<h2><span id=\"References\">References<\/span><\/h2>\n<p>Finally, you can use the following links for more information:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.postgresql.org\/about\/\" target=\"_blank\" rel=\"noopener\">About PostgreSQL<\/a><\/li>\n<li><a href=\"https:\/\/www.postgresql.org\/docs\/\" target=\"_blank\" rel=\"noopener\">PostgreSQL Documentation<\/a><\/li>\n<li>Help File :\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/index.htm#page=ssis-postgresql-destination.htm\" target=\"_blank\" rel=\"noopener\">PostgreSQL Destination<\/a><\/li>\n<li>Help File: <a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/index.htm#page=ssis-excel-source.htm\" target=\"_blank\" rel=\"noopener\">Excel Source<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this post, we will learn How to Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination.\u00a0 We will use\u00a0SSIS PowerPack\u00a0to connect PostgreSQL. This article also covers how to read Excel file in SSIS. SSIS PostgreSQL Destination\u00a0can be used to perform bulk insert in PostgreSQL Table from any data source using SSIS. [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":6816,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[472,463,484],"tags":[21,482,12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-04-22T12:25:36+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2019-09-11T10:20:25+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"100\" \/>\r\n\t<meta property=\"og:image:height\" content=\"100\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/\",\"url\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/\",\"name\":\"Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\",\"datePublished\":\"2019-04-22T12:25:36+00:00\",\"dateModified\":\"2019-09-11T10:20:25+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\"},\"description\":\"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png\",\"width\":100,\"height\":100,\"caption\":\"PostgreSql Destination\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Load data into PostgreSQL from Excel file using SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/hshah\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog","description":"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/","og_locale":"en_US","og_type":"article","og_title":"Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog","og_description":"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table","og_url":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/","og_site_name":"ZappySys Blog","article_published_time":"2019-04-22T12:25:36+00:00","article_modified_time":"2019-09-11T10:20:25+00:00","og_image":[{"width":100,"height":100,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/","url":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/","name":"Load data into PostgreSQL from Excel file using SSIS | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png","datePublished":"2019-04-22T12:25:36+00:00","dateModified":"2019-09-11T10:20:25+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35"},"description":"Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination, How to Read Excel file and load data into PostgreSQL Table","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/04\/ssis-PostgreSql-Destination.png","width":100,"height":100,"caption":"PostgreSql Destination"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/ssis-load-data-postgresql-from-excel-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Load data into PostgreSQL from Excel file using SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/c9dc782c929d0027e2e87e3951ce9d35","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/076a738938c19d459fbfe125c759a0ea?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/hshah\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6815"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=6815"}],"version-history":[{"count":14,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6815\/revisions"}],"predecessor-version":[{"id":7944,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6815\/revisions\/7944"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/6816"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=6815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=6815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=6815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}