<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSIS PostgreSql Connection Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/category/ssis/connection-manager/ssis-postgresql-connection/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/category/ssis/connection-manager/ssis-postgresql-connection/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Mon, 02 Mar 2026 16:01:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>SSIS PostgreSql Connection Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/category/ssis/connection-manager/ssis-postgresql-connection/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SSIS tutorial: Migrating MariaDB data to PostgreSQL</title>
		<link>https://zappysys.com/blog/ssis-tutorial-how-to-migrate-mariadb-data-to-postgresql/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Fri, 27 Feb 2026 12:01:24 +0000</pubDate>
				<category><![CDATA[SSIS PostgreSql Connection]]></category>
		<category><![CDATA[SSIS PostgreSQL Destination]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=11762</guid>

					<description><![CDATA[<p>Introduction In our previous post, we explored how to read and write PostgreSQL data using the ZappySys PostgreSQL Source and Destination connectors for SSIS. In this article, you will learn how to connect MariaDB to PostgreSQL using ZappySys SSIS PowerPack and transfer data between both systems. We will demonstrate a practical ETL pattern using ZappySys [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/ssis-tutorial-how-to-migrate-mariadb-data-to-postgresql/">SSIS tutorial: Migrating MariaDB data to PostgreSQL</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-Destination.png"><img 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>In our previous post, we explored how to read and write PostgreSQL data using the ZappySys <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/">PostgreSQL Source</a> and <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-destination/">Destination</a> connectors for SSIS. In this article, you will learn how to connect MariaDB to PostgreSQL using ZappySys SSIS PowerPack and transfer data between both systems.</p>
<p>We will demonstrate a practical ETL pattern using ZappySys ODBC/JDBC connectivity to extract data from MariaDB and load it into PostgreSQL within SSIS.</p>
<h2>Prerequisites</h2>
<p>Before you begin, make sure you have the following:</p>
<ul>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Thirdly, access credentials for both MariaDB and PostgreSQL</li>
<li>Finally, do not forget to install ZappySys <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a> and ZappySys <a href="https://zappysys.com/products/ODBC-powerpack/" target="_blank" rel="noopener">ODBC PowerPack</a></li>
</ul>
<h2>Steps</h2>
<h3>Configure MariaDB Connection Using ODBC (JDBC Bridge)</h3>
<p>Since MariaDB connectivity is handled via JDBC, we will use the <strong>ZappySys JDBC Bridge Driver</strong> to expose it as an ODBC data source.</p>
<ol>
<li>Visit the <a href="https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector">official MariaDB website</a>.</li>
<li>Download the latest <strong>MariaDB JDBC driver</strong>.</li>
<li>Save the <code inline="">.jar</code> file locally, for example: <span style="background-color: #f2f4f5; color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 12.8px;">D:\Zappysys\drivers\mariadb-java-client-3.5.7.jar</span></li>
<li>Download and install <a href="https://zappysys.com/products/odbc-powerpack/download/"><strong>ZappySys ODBC PowerPack</strong></a> if not already installed.</li>
<li>Open <strong>ODBC Data Sources (64-bit)</strong>.
<div id="attachment_6213" style="width: 404px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-6213" class="wp-image-6213 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png" alt="" width="394" height="542" srcset="https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2.png 394w, https://zappysys.com/blog/wp-content/uploads/2019/01/how-to-open-odbc-data-source-administrator-2-218x300.png 218w" sizes="(max-width: 394px) 100vw, 394px" /></a><p id="caption-attachment-6213" class="wp-caption-text">Open ODBC Data Sources</p></div></li>
<li>Create a <strong>User data source</strong> (User DSN) based on <strong>ZappySys JDBC Bridge Driver</strong>:
<div id="attachment_11767" style="width: 632px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Create-a-User-data-source.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11767" class="size-full wp-image-11767" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Create-a-User-data-source.png" alt="" width="622" height="517" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Create-a-User-data-source.png 622w, https://zappysys.com/blog/wp-content/uploads/2026/02/Create-a-User-data-source-300x249.png 300w" sizes="(max-width: 622px) 100vw, 622px" /></a><p id="caption-attachment-11767" class="wp-caption-text">Create a User data source</p></div></li>
<li>Configure the JDBC Connection. Fill in the connection details
<ul style="list-style-type: disc;">
<li><strong>Connection String  </strong><code>jdbc:mariadb://{host-name}:{port}/{database-name}<br />
</code></li>
<li><strong>JDBC Driver File </strong><code>D:\Zappysys\drivers\mariadb-java-client-3.5.7.jar<br />
</code></li>
<li><strong>Username </strong><code>root<br />
</code></li>
<li><strong>Password </strong><code>********<br />
</code></li>
<li><strong>Connection Parameters</strong><code>[]</code></li>
</ul>
</li>
<li>Click <strong>Test Connection</strong>. If configured correctly, you should see a success message.
<div class="mceTemp"></div>
<div id="attachment_11768" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-Mariadb.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11768" class="size-full wp-image-11768" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-Mariadb.png" alt="" width="804" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-Mariadb.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-Mariadb-300x263.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-Mariadb-768x672.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-11768" class="wp-caption-text">Zappysys JDBC &#8211; MariaDB</p></div></li>
<li>You can also use the <strong>Preview</strong> tab to select the table and execute SQL queries. For advanced SQL examples, refer to the <a href="https://zappysys.com/onlinehelp/odbc-powerpack/index.htm#page=jdbc-odbc-driver-sql-query-examples.htm" target="_blank" rel="noopener">JDBC Bridge documentation</a>.
<div id="attachment_11769" style="width: 814px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-MariaDB-preview-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11769" class="size-full wp-image-11769" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-MariaDB-preview-result.png" alt="" width="804" height="704" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-MariaDB-preview-result.png 804w, https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-MariaDB-preview-result-300x263.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/02/Zappysys-JDBC-MariaDB-preview-result-768x672.png 768w" sizes="(max-width: 804px) 100vw, 804px" /></a><p id="caption-attachment-11769" class="wp-caption-text">Zappysys JDBC &#8211; MariaDB preview result</p></div></li>
</ol>
<h3>Connect MariaDB to SSIS</h3>
<ol>
<li>Open <strong>Visual Studio</strong>.</li>
<li>Create a <strong>New Project</strong>.</li>
<li>Select <strong>Integration Services Project</strong>.</li>
<li>Provide a project name and location, then click <strong>OK</strong>.</li>
<li>Drag and drop a <strong>Data Flow Task</strong> from the SSIS Toolbox onto the Control Flow surface.
<div id="attachment_11784" style="width: 485px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-Data-flow.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11784" class="size-full wp-image-11784" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-Data-flow.png" alt="" width="475" height="178" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-Data-flow.png 475w, https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-Data-flow-300x112.png 300w" sizes="(max-width: 475px) 100vw, 475px" /></a><p id="caption-attachment-11784" class="wp-caption-text">Drag and drop Data flow.</p></div></li>
<li>Double-click the task to open the <strong>Data Flow Designer</strong>.</li>
<li>Drag and drop an <strong>ODBC Source</strong> component into the Data Flow.
<div id="attachment_11783" style="width: 489px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-ODBC-source.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11783" class="size-full wp-image-11783" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-ODBC-source.png" alt="" width="479" height="227" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-ODBC-source.png 479w, https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-ODBC-source-300x142.png 300w" sizes="(max-width: 479px) 100vw, 479px" /></a><p id="caption-attachment-11783" class="wp-caption-text">Drag and drop the ODBC source.</p></div></li>
<li>Double-click the component to configure it.</li>
<li>Click <strong>New…</strong> to create a new ODBC Connection Manager.
<div id="attachment_11772" style="width: 763px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11772" class="size-full wp-image-11772" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS.png" alt="" width="753" height="685" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS.png 753w, https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS-300x273.png 300w" sizes="(max-width: 753px) 100vw, 753px" /></a><p id="caption-attachment-11772" class="wp-caption-text">Creating an ODBC Connection Manager in SSIS</p></div></li>
<li>Select the MariaDB ODBC DSN you created earlier.</li>
<li>Click <strong>Test Connection </strong>and click <strong>OK </strong>to save the configuration.
<div id="attachment_11773" style="width: 724px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS-from-JDBC.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11773" class="size-full wp-image-11773" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS-from-JDBC.png" alt="" width="714" height="620" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS-from-JDBC.png 714w, https://zappysys.com/blog/wp-content/uploads/2026/02/Creating-ODBC-Connection-Manager-in-SSIS-from-JDBC-300x261.png 300w" sizes="(max-width: 714px) 100vw, 714px" /></a><p id="caption-attachment-11773" class="wp-caption-text">Creating an ODBC Connection Manager in SSIS from JDBC</p></div></li>
<li>Choose <strong>Data Access Mode: </strong>Table name or SQL command.</li>
<li>Select the desired table or enter a custom query.</li>
<li><span style="box-sizing: border-box; margin: 0px; padding: 0px;"><span style="box-sizing: border-box; margin: 0px; padding: 0px;">Click <strong>Preview</strong> to validate the data, and click <strong>OK </strong>to save the configuration.<br />
</span></span></p>
<div id="attachment_11774" style="width: 763px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Preview-ODBC-Connection-Manager-in-SSIS-from-JDBC.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11774" class="size-full wp-image-11774" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Preview-ODBC-Connection-Manager-in-SSIS-from-JDBC.png" alt="" width="753" height="637" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Preview-ODBC-Connection-Manager-in-SSIS-from-JDBC.png 753w, https://zappysys.com/blog/wp-content/uploads/2026/02/Preview-ODBC-Connection-Manager-in-SSIS-from-JDBC-300x254.png 300w" sizes="(max-width: 753px) 100vw, 753px" /></a><p id="caption-attachment-11774" class="wp-caption-text">Preview an ODBC Connection Manager in SSIS from JDBC</p></div></li>
</ol>
<h3>Configure PostgreSQL Destination</h3>
<ol>
<li>In the Connection Manager pane, click <strong>New Connection</strong>.</li>
<li>Select <strong>ZS-POSTGRESQL</strong>.</li>
<li>Configure the connection:
<ul style="list-style-type: disc;">
<li>Host</li>
<li>Username</li>
<li>Password</li>
<li>Port</li>
<li>Database name</li>
</ul>
</li>
<li>Use the other tabs for more configuration if needed</li>
<li>Click <strong>Test Connection </strong>and Click <strong>OK</strong>.
<div id="attachment_11788" style="width: 698px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-connection-configuration.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11788" class="size-full wp-image-11788" src="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-connection-configuration.png" alt="" width="688" height="580" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-connection-configuration.png 688w, https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-connection-configuration-300x253.png 300w" sizes="(max-width: 688px) 100vw, 688px" /></a><p id="caption-attachment-11788" class="wp-caption-text">PostgreSQL connection configuration</p></div></li>
<li>Drag and drop the <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-destination/"><strong>PostgreSQL Destination</strong></a> component.
<div id="attachment_11785" style="width: 556px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-PostgreSQL-destination.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11785" class="size-full wp-image-11785" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-PostgreSQL-destination.png" alt="" width="546" height="261" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-PostgreSQL-destination.png 546w, https://zappysys.com/blog/wp-content/uploads/2026/02/Drag-and-drop-PostgreSQL-destination-300x143.png 300w" sizes="(max-width: 546px) 100vw, 546px" /></a><p id="caption-attachment-11785" class="wp-caption-text">Drag and drop the PostgreSQL destination.</p></div></li>
<li>Connect it to the <strong>ODBC Source </strong>and double-click to configure it.</li>
<li>Select the PostgreSQL connection.
<div id="attachment_11775" style="width: 723px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11775" class="size-full wp-image-11775" src="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-connection.png" alt="" width="713" height="364" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-connection.png 713w, https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-connection-300x153.png 300w" sizes="(max-width: 713px) 100vw, 713px" /></a><p id="caption-attachment-11775" class="wp-caption-text">PostgreSQL Destination &#8211; Choose the connection</p></div></li>
<li>Go to the <strong>Properties</strong> tab and choose the target table.
<div id="attachment_11776" style="width: 733px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-target-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11776" class="size-full wp-image-11776" src="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-target-table.png" alt="" width="723" height="664" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-target-table.png 723w, https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Choose-the-target-table-300x276.png 300w" sizes="(max-width: 723px) 100vw, 723px" /></a><p id="caption-attachment-11776" class="wp-caption-text">PostgreSQL Destination &#8211; Choose the target table</p></div></li>
<li>Go to the <strong>Column Mappings</strong> tab and map source columns to destination columns.
<div id="attachment_11777" style="width: 723px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Map-the-columns.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11777" class="size-full wp-image-11777" src="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Map-the-columns.png" alt="" width="713" height="624" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Map-the-columns.png 713w, https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Map-the-columns-300x263.png 300w" sizes="(max-width: 713px) 100vw, 713px" /></a><p id="caption-attachment-11777" class="wp-caption-text">PostgreSQL Destination &#8211; Map the columns</p></div></li>
<li>Click <strong>OK </strong>to save the configuration.</li>
<li>Run the SSIS package. If everything is configured correctly, the data will be transferred from MariaDB to PostgreSQL.
<div id="attachment_11778" style="width: 272px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Final-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11778" class="size-full wp-image-11778" src="https://zappysys.com/blog/wp-content/uploads/2026/02/PostgreSQL-Destination-Final-result.png" alt="" width="262" height="246" /></a><p id="caption-attachment-11778" class="wp-caption-text">PostgreSQL Destination &#8211; Final result</p></div></li>
</ol>
<h3>Alternative Option — Using Upsert Destination</h3>
<p>An alternative destination component is the <a href="https://zappysys.com/products/ssis-powerpack/ssis-upsert-destination/">Upsert Destination</a>; you can replace it with the PostgreSQL destination. You can preview data from the element, select the options to insert or/and update, and more.</p>
<ol>
<li>Replace the PostgreSQL Destination with the <a href="https://zappysys.com/products/ssis-powerpack/ssis-upsert-destination/"><strong>Upsert Destination</strong></a>.</li>
<li>Select your PostgreSQL connection.</li>
<li>Choose the target table.</li>
<li>Choose <strong>Insert</strong> or/and <strong>Update</strong> action.n</li>
<li>Map the columns.</li>
<li>Select the primary key column(s).</li>
<li>Configure additional options under the <strong>Advanced</strong> tab if needed.
<div id="attachment_11779" style="width: 968px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-PostgreSQL-destination-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11779" class="size-full wp-image-11779" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-PostgreSQL-destination-table.png" alt="" width="958" height="569" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-PostgreSQL-destination-table.png 958w, https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-PostgreSQL-destination-table-300x178.png 300w, https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-PostgreSQL-destination-table-768x456.png 768w" sizes="(max-width: 958px) 100vw, 958px" /></a><p id="caption-attachment-11779" class="wp-caption-text">Upsert Destination &#8211; PostgreSQL destination table</p></div></li>
<li>Run the package to perform the upsert operation.
<div id="attachment_11780" style="width: 381px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-Final-result.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11780" class="size-full wp-image-11780" src="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-Final-result.png" alt="" width="371" height="283" srcset="https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-Final-result.png 371w, https://zappysys.com/blog/wp-content/uploads/2026/02/Upsert-Destination-Final-result-300x229.png 300w" sizes="(max-width: 371px) 100vw, 371px" /></a><p id="caption-attachment-11780" class="wp-caption-text">Upsert Destination &#8211; Final result</p></div></li>
</ol>
<h2>Conclusion</h2>
<p>With ZappySys SSIS PowerPack and ODBC PowerPack, connecting MariaDB to PostgreSQL becomes straightforward and reliable.</p>
<p>By configuring the ODBC/JDBC bridge for MariaDB and using the native PostgreSQL destination in SSIS, you can build a robust ETL pipeline between the two databases.</p>
<p>Explore the full capabilities of the ZappySys <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a> and ZappySys <a href="https://zappysys.com/products/ODBC-powerpack/" target="_blank" rel="noopener">ODBC PowerPack</a> to optimize your data integration tasks.</p>
<h1>Need Help?</h1>
<p>If you encounter any issues, our support team is here to help:</p>
<ul>
<li><strong>Live Chat</strong> — Use the chat widget (bottom-right corner of this page)</li>
<li><strong>Email</strong> — <a href="mailto:support@zappysys.com">support@zappysys.com</a></li>
<li><strong>Support Center</strong> — Support | ZappySys</li>
</ul>
<p>&nbsp;</p>
<p>The post <a href="https://zappysys.com/blog/ssis-tutorial-how-to-migrate-mariadb-data-to-postgresql/">SSIS tutorial: Migrating MariaDB data to PostgreSQL</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Load data into PostgreSQL &#8211; Upsert using SSIS (Bulk Update, Insert, Delete)</title>
		<link>https://zappysys.com/blog/postgresql-upsert-using-ssis-destination-update-insert-delete/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Fri, 06 Sep 2019 07:08:07 +0000</pubDate>
				<category><![CDATA[SSIS PostgreSql Connection]]></category>
		<category><![CDATA[SSIS Upsert Destination]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[ssis]]></category>
		<category><![CDATA[upsert]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=7894</guid>

					<description><![CDATA[<p>Introduction In our previous blog we saw How to perform Upsert (Update or Insert) for SQL Server Table. In this post we will look at specific example on How to Load data into PostgreSQL &#8211; Upsert using SSIS Upsert Destination (Insert, Update, Delete), along with few other topics such as how to create target table using [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/postgresql-upsert-using-ssis-destination-update-insert-delete/">Load data into PostgreSQL &#8211; Upsert using SSIS (Bulk Update, Insert, Delete)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><span id="Introduction">Introduction</span></h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/Access-to-PostgreSQL.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-7898 size-thumbnail alignleft" src="https://zappysys.com/blog/wp-content/uploads/2019/09/Access-to-PostgreSQL-150x150.png" alt="Access to PostgreSQL" width="150" height="150" /></a>In our previous blog we saw <a href="https://zappysys.com/blog/data-migration-access-sql-server/" target="_blank" rel="noopener">How to perform Upsert (Update or Insert) for SQL Server Table</a>. In this post we will look at specific example on <b>How to Load data into PostgreSQL &#8211; Upsert using SSIS Upsert Destination (Insert, Update, Delete)</b>, along with few other topics such as how to create target table using Upsert Destination, how to read data from Ms Access Table and <strong>Merge into PostgreSQL using SSIS</strong>.</p>
<p>We will go through the steps to read data from Access and Load into PostgreSQL &#8211; Upsert in SSIS.</p>
<p>In nutshell, this post will focus on how to read access table data in SSIS.</p>
<p>So let’s get started.</p>
<h2><span id="Requirements">Requirements</span></h2>
<ol>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Thirdly, do not forget to install ZappySys <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a></li>
<li>Finally, Make sure that Microsoft Access installed.</li>
</ol>
<h2>Read MS Access data and Upsert into PostgreSQL table</h2>
<p>Let´s start with an example. In this article we will see Data migration from Access to PostgreSQL.</p>
<ol>
<li>First of All, Drag and drop Data Flow Task from SSIS Toolbox and double click it to edit.
<div id="attachment_7934" style="width: 470px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="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><p id="caption-attachment-7934" class="wp-caption-text">Drag and Drop : SSIS Data Flow Task from SSIS Toolbox</p></div></li>
<li>Furthermore, drag and drop the OLE DB Source.
<div id="attachment_7289" style="width: 515px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/06/oledb-source-drag-and-drop.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7289" class="wp-image-7289 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/06/oledb-source-drag-and-drop.png" alt="OLE DB Source - Drag and Drop" width="505" height="190" srcset="https://zappysys.com/blog/wp-content/uploads/2019/06/oledb-source-drag-and-drop.png 505w, https://zappysys.com/blog/wp-content/uploads/2019/06/oledb-source-drag-and-drop-300x113.png 300w" sizes="(max-width: 505px) 100vw, 505px" /></a><p id="caption-attachment-7289" class="wp-caption-text">OLE DB Source &#8211; Drag and Drop</p></div></li>
<li>Double click on OLE DB Source for configure it and click on New Connection and configure connection as below to connect access database and click on OK.
<div id="attachment_7851" style="width: 722px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-access-connection.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7851" class="wp-image-7851 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-access-connection.png" alt="OLE DB : Access Connection" width="712" height="618" srcset="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-access-connection.png 712w, https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-access-connection-300x260.png 300w" sizes="(max-width: 712px) 100vw, 712px" /></a><p id="caption-attachment-7851" class="wp-caption-text">OLE DB : Access Connection</p></div></li>
<li>Now in OLE DB Source Select the mode as Table or View and select Preview to view the access table data.
<div id="attachment_7852" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7852" class="wp-image-7852 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview-768x472.png" alt="OLE DB Source Preview" width="720" height="443" srcset="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview-768x472.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview-300x184.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview-1024x629.png 1024w, https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-ole-db-source-preview.png 1165w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7852" class="wp-caption-text">OLE DB Source Preview</p></div></li>
<li>Now drag and drop Upsert Destination (Insert, Update, Delete) and create connection with PostgreSQL Database.
<div id="attachment_7912" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-postgresql.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7912" class="wp-image-7912 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-postgresql.png" alt="Setup SSIS Upsert Destination for PostgreSQL data load (Bulk Update, Insert, Delete)" width="720" height="766" srcset="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-postgresql.png 720w, https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-postgresql-282x300.png 282w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7912" class="wp-caption-text">Setup SSIS Upsert Destination for PostgreSQL data load (Bulk Update, Insert, Delete)</p></div></li>
<li>Now select Action as Sync and check all the checkboxes Insert, Update and Delete from target if not found in source. Select the table and Map all the columns and select the Key field(s) and click on OK.<a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-select-table-and-key.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="768" height="572" class="wp-image-7901 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-select-table-and-key-768x572.png" alt="&quot;&lt;yoastmark" srcset="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-select-table-and-key-768x572.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-select-table-and-key-300x224.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-upsert-destination-select-table-and-key.png 950w" sizes="(max-width: 768px) 100vw, 768px" /></a></li>
<li>That&#8217;s it we are ready to migrate MS access table data into PostgreSQL Table. Execute the package and it will migrate the data.<a href="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-oledb-source-and-upsert-destination.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="410" height="225" class="wp-image-7860 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-oledb-source-and-upsert-destination.png" alt="&quot;&lt;yoastmark" srcset="https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-oledb-source-and-upsert-destination.png 410w, https://zappysys.com/blog/wp-content/uploads/2019/08/ssis-oledb-source-and-upsert-destination-300x165.png 300w" sizes="(max-width: 410px) 100vw, 410px" /></a></li>
</ol>
<h2><span id="Conclusion">Conclusion</span></h2>
<p>In this article, we show how to read MS Access table data and migrate the data in PostgreSQL table using SSIS Upsert Destination. We show how to do connect access MS Access using OLE DB Source. Also, we show how to write Sync Insert, Update and Delete in target if not found in Source Using <a href="https://zappysys.com/products/ssis-powerpack/ssis-upsert-destination/" target="_blank" rel="noopener">ZS Upsert Destination</a>. If you liked this article and you want to try, you can download the <a href="https://zappysys.com/products/ssis-powerpack/">SSIS PowerPack from here (includes 70+ Components)</a>.</p>
<h2><span id="References">References</span></h2>
<ul>
<li><a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">ZappySys SSIS installer.</a></li>
<li><strong>Help File: </strong><a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-upsert-destination.htm" target="_blank" rel="noopener">Upsert Destination</a></li>
</ul>
<p>The post <a href="https://zappysys.com/blog/postgresql-upsert-using-ssis-destination-update-insert-delete/">Load data into PostgreSQL &#8211; Upsert using SSIS (Bulk Update, Insert, Delete)</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Load data into PostgreSQL from Excel file using SSIS</title>
		<link>https://zappysys.com/blog/ssis-load-data-postgresql-from-excel-file/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 22 Apr 2019 12:25:36 +0000</pubDate>
				<category><![CDATA[SSIS Excel Source]]></category>
		<category><![CDATA[SSIS PostgreSql Connection]]></category>
		<category><![CDATA[SSIS PostgreSQL Destination]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=6815</guid>

					<description><![CDATA[<p>Introduction In this post, we will learn How to Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination.  We will use SSIS PowerPack to connect PostgreSQL. This article also covers how to read Excel file in SSIS. SSIS PostgreSQL Destination can be used to perform bulk insert in PostgreSQL Table from any data source using SSIS. [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/ssis-load-data-postgresql-from-excel-file/">Load data into PostgreSQL from Excel file using SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<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 />
In this post, we will learn How to <strong>Load data into PostgreSQL from Excel file using SSIS PostgreSQL Destination</strong>.  We will use <a href="https://zappysys.com/products/ssis-powerpack/">SSIS PowerPack</a> to connect PostgreSQL. This article also covers how to read Excel file in SSIS.</p>
<p><a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-destination/" target="_blank" rel="noopener">SSIS PostgreSQL Destination</a> can be used to perform bulk insert in PostgreSQL Table from any data source using SSIS.</p>
<p>In nutshell, this post will focus on how to Read Excel file and load data into PostgreSQL Table.</p>
<h2>Prerequisite</h2>
<ol>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Thirdly, You have obtained PostgreSQL Credential.</li>
<li>Finally, do not forget to install ZappySys <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a></li>
</ol>
<p><strong>Components Mentioned in this article</strong><br />
<div class="su-table su-table-alternate">
<table style="width: 407px">
<tbody>
<tr style="height: 30px">
<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>
<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>
</tr>
<tr style="height: 30px">
<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>
<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>
</tr>
</tbody>
</table>
</div>
<h2><span id="What_is_PostgreSQL">What is PostgreSQL?</span></h2>
<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 <a href="https://www.postgresql.org/docs/current/history.html" target="_blank" rel="noopener">POSTGRES</a> project at the University of California at Berkeley and has more than 30 years of active development on the core platform.</p>
<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 <a href="https://www.postgresql.org/download/" target="_blank" rel="noopener">all major operating systems</a>, has been <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 <a href="https://postgis.net/" target="_blank" rel="noopener">PostGIS</a> geospatial database extender. It is no surprise that PostgreSQL has become the open source relational database of choice for many people and organisations.</p>
<p><a href="https://www.postgresql.org/docs/current/tutorial.html" target="_blank" rel="noopener">Getting started</a> with using PostgreSQL has never been easier – pick a project you want to build, and let PostgreSQL safely and robustly store your data.</p>
<h2>Getting Started</h2>
<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>
<h2>Getting Started &#8211; Read Excel File in SSIS</h2>
<p>Let´s start with an example. Let&#8217;s use our <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>
<ol>
<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>
<li>Now Drag and Drop ZS Excel 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>
<li>Let&#8217;s Double Click on Excel Source for edit and select New Connection and click on New button.
<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>
<li>Now select the excel file path in and test connection in opened excel connection manager window and click on OK.
<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>
<li>Let&#8217;s read the Excel Workbook data using table mode and select sheet to read data from that excel sheet.
<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>
<li> We can also read Excel Workbook using SQL Query mode and filter the data.
<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>
<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.
<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>
<p>&nbsp;</li>
<li> That&#8217;s it we are ready to load excel file data to PostgreSQL.</li>
</ol>
<h2>Load Excel File data into PostgreSQL</h2>
<p>Now let&#8217;s look at how to load data into target like PostgreSQL database Table.</p>
<ol>
<li>First of all, let&#8217;s create the PostgreSQL Database Connection From Connection Manager.</li>
<li>Right click in connection Window and select New Connection.
<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>
<li>Select the ZS-POSTGRESQL Connection type from the Connection Manager Window.
<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>
<li>Let’s configure the connection for PostgreSQL Database and Test the Connection.
<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>
<li>Now lets&#8217; Drag and Drop PostgreSQL Destination from SSIS Toolbox Inside the Data Flow.
<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>
<li>Connect our Source component to PostgreSQL Destination.
<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>
<li>Double click PostgreSQL Destination to configure it. And Select the PostgreSQL Connection.
<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>
<li>Furthermore, go to Component Properties Tab and Select the PostgreSQL Table to Load Excel File data into it.
<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>
<li>Finally, let&#8217;s map the columns from the Column Mappings Tab.
<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>
<li>That&#8217;s it we are ready to go. Finally execute the package and it will insert the excel file data into the PostgreSQL Table.</li>
</ol>
<h2><span id="Conclusion">Conclusion</span></h2>
<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> to 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>
<h2><span id="References">References</span></h2>
<p>Finally, you can use the following links for more information:</p>
<ul>
<li><a href="https://www.postgresql.org/about/" target="_blank" rel="noopener">About PostgreSQL</a></li>
<li><a href="https://www.postgresql.org/docs/" target="_blank" rel="noopener">PostgreSQL Documentation</a></li>
<li>Help File : <a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-postgresql-destination.htm" target="_blank" rel="noopener">PostgreSQL Destination</a></li>
<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>
</ul>
<p>&nbsp;</p>
<p>The post <a href="https://zappysys.com/blog/ssis-load-data-postgresql-from-excel-file/">Load data into PostgreSQL from Excel file using SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Export PostgreSQL Table Data to SQL Server in SSIS</title>
		<link>https://zappysys.com/blog/export-postgresql-table-data-sql-server-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Mon, 22 Apr 2019 08:49:34 +0000</pubDate>
				<category><![CDATA[SSIS PostgreSql Connection]]></category>
		<category><![CDATA[SSIS PostgreSQL Source]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=6810</guid>

					<description><![CDATA[<p>ZappySys provides high performance drag and drop connectors for PostgreSQL Integration. In this post you will see how to Export PostgreSQL Table Data to SQL Server Table using SSIS PostgreSQL Source. PostgreSQL Source supports SQL language to query PostgreSQL data. PostgreSQL is a powerful, open source relational database with strong reputation for reliability, feature robustness, and performance. [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/export-postgresql-table-data-sql-server-ssis/">Export PostgreSQL Table Data to SQL Server in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-Source.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignleft wp-image-6771 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-Source.png" alt="ssis-PostgreSql-Source" width="100" height="100" /></a>ZappySys provides high performance drag and drop connectors for PostgreSQL Integration. In this post you will see how to Export PostgreSQL Table Data to SQL Server Table using <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a>. PostgreSQL Source supports SQL language to query PostgreSQL data. PostgreSQL is a powerful, open source relational database with strong reputation for reliability, feature robustness, and performance.</p>
<p>In nutshell, this post will focus on how to read PostgreSQL Table Data and write into SQL Server table in few clicks.</p>
<h2><span id="Prerequisite">Prerequisite</span></h2>
<ol>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Thirdly, You have obtained PostgreSQL Credential.</li>
<li>Finally, do not forget to install <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a></li>
</ol>
<p><strong>Components Mentioned in this article</strong><br />
<div class="su-table su-table-alternate">
<table style="width: 390px">
<tbody>
<tr style="height: 40px">
<td style="width: 33px;height: 40px"><img loading="lazy" decoding="async" src="https://i1.wp.com/zappysys.com/onlinehelp/ssis-powerpack/scr/images/postgresql-source/ssis-postgresql-source.png" alt="SSIS Amazon S3 CSV File Source" width="32" height="32" /></td>
<td style="width: 357px;height: 40px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a></td>
</tr>
</tbody>
</table>
</div>
<h2>What is PostgreSQL?</h2>
<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 <a href="https://www.postgresql.org/docs/current/history.html" target="_blank" rel="noopener">POSTGRES</a> project at the University of California at Berkeley and has more than 30 years of active development on the core platform.</p>
<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 <a href="https://www.postgresql.org/download/" target="_blank" rel="noopener">all major operating systems</a>, has been <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 <a href="https://postgis.net/" target="_blank" rel="noopener">PostGIS</a> geospatial database extender. It is no surprise that PostgreSQL has become the open source relational database of choice for many people and organisations.</p>
<p><a href="https://www.postgresql.org/docs/current/tutorial.html" target="_blank" rel="noopener">Getting started</a> with using PostgreSQL has never been easier &#8211; pick a project you want to build, and let PostgreSQL safely and robustly store your data.</p>
<h2>Download and Install PostgreSQL</h2>
<p>Please go to below download link and download the Windows version Binary package and install it and follow the steps from the installer.</p>
<p><a href="https://www.postgresql.org/download/" target="_blank" rel="noopener">https://www.postgresql.org/download/</a></p>
<div id="attachment_6774" style="width: 530px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6774" class="wp-image-6774 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480.png" alt="ssis-PostgreSql-download" width="520" height="706" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480.png 520w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480-221x300.png 221w" sizes="(max-width: 520px) 100vw, 520px" /></a><p id="caption-attachment-6774" class="wp-caption-text">PostgreSQL Download</p></div>
<h2>Create PostgreSQL Database and Table</h2>
<ol>
<li>To do this, we will first open the pgAdmin Panel.
<div id="attachment_6776" style="width: 434px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6776" class="wp-image-6776 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png" alt="ssis-PostgreSql-open-pgadmin" width="424" height="680" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png 424w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin-187x300.png 187w" sizes="(max-width: 424px) 100vw, 424px" /></a><p id="caption-attachment-6776" class="wp-caption-text">Open PostgreSQL pgAdmin Panel</p></div></li>
<li>It will open the pgAdmin Panel in the browser. Select Server and Right click on Databases to create database.
<div id="attachment_6777" style="width: 555px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6777" class="wp-image-6777 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png" alt="PostgreSql Select Create Database" width="545" height="484" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png 545w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase-300x266.png 300w" sizes="(max-width: 545px) 100vw, 545px" /></a><p id="caption-attachment-6777" class="wp-caption-text">PostgreSQL Select Create Database</p></div></li>
<li>Enter the Database name and click on Save to create it.
<div id="attachment_6778" style="width: 727px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6778" class="wp-image-6778 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png" alt="ssis-PostgreSql-create-database" width="717" height="583" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png 717w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database-300x244.png 300w" sizes="(max-width: 717px) 100vw, 717px" /></a><p id="caption-attachment-6778" class="wp-caption-text">Create PostgreSQL Database</p></div></li>
<li>Now select the created database under it expand Schemas and right click on Tables and click on create Table.
<div id="attachment_6780" style="width: 575px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6780" class="wp-image-6780 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png" alt="ssis-PostgreSQL-select-create-table" width="565" height="846" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png 565w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table-200x300.png 200w" sizes="(max-width: 565px) 100vw, 565px" /></a><p id="caption-attachment-6780" class="wp-caption-text">PostgreSQL Select Create Table</p></div></li>
<li>Now enter the table name and go to columns tab.
<div id="attachment_6782" style="width: 531px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6782" class="wp-image-6782 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png" alt="ssis-PostgreSQL-add-table-name" width="521" height="472" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png 521w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name-300x272.png 300w" sizes="(max-width: 521px) 100vw, 521px" /></a><p id="caption-attachment-6782" class="wp-caption-text">PostgreSQL Enter Table Name</p></div></li>
<li>Add the columns by clicking add button and give the desire column name and select the datatype for the same.
<div id="attachment_6783" style="width: 622px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6783" class="wp-image-6783 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png" alt="ssis-PostgreSQL-add-table-columns" width="612" height="500" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png 612w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns-300x245.png 300w" sizes="(max-width: 612px) 100vw, 612px" /></a><p id="caption-attachment-6783" class="wp-caption-text">PostgreSQL Add Table Columns</p></div></li>
<li>Now, let&#8217;s insert some data using Query Editor.
<div id="attachment_6790" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6790" class="size-medium_large wp-image-6790" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-768x712.png" alt="ssis-PostgreSQL-insert-data-in-table" width="720" height="668" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-768x712.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-300x278.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table.png 843w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-6790" class="wp-caption-text">PostgreSQL Insert Data in Table</p></div></li>
<li>That&#8217;s it, now let&#8217;s move forward to read the data from this table using <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> in the next the section.
<div id="attachment_6792" style="width: 351px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6792" class="size-full wp-image-6792" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png" alt="ssis-PostgreSQL-select-query-data" width="341" height="426" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png 341w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data-240x300.png 240w" sizes="(max-width: 341px) 100vw, 341px" /></a><p id="caption-attachment-6792" class="wp-caption-text">PostgreSQL Select Query Data</p></div></li>
</ol>
<h2><span id="Getting_Started">Getting Started</span></h2>
<p>In order to start, we will show several examples. ZappySys includes an <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> that will help you extract large amount of data from a PostgreSQL Database. PostgreSQL Source supports Multiple modes (i.e. Table or Query) to read data from PostgreSQL Database and many more operations. Here we are showing you is, How to read data from PostgreSQL collection.</p>
<p>You can connect to your PostgreSQL database by entering your PostgreSQL credentials.</p>
<h2>Configure PostgreSQL Source to read data from the table</h2>
<p>Let´s start with an example. In this SSIS PostgreSQL Source Task example, we will load the PostgreSQL table data to SQL Server.</p>
<ol>
<li>First of All, Drag and drop Data Flow Task from SSIS Toolbox and double click it to edit.
<div id="attachment_7934" style="width: 470px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="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><p id="caption-attachment-7934" class="wp-caption-text">Drag and Drop : Data Flow Task from SSIS Toolbox</p></div></li>
<li>Drag and Drop PostgreSQL Source Task from the SSIS Toolbox and double click on it to edit it.
<div id="attachment_6795" style="width: 618px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6795" class="size-full wp-image-6795" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png" alt="ssis-drag-drop-PostgreSQL-source" width="608" height="321" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png 608w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source-300x158.png 300w" sizes="(max-width: 608px) 100vw, 608px" /></a><p id="caption-attachment-6795" class="wp-caption-text">PostgreSQL Source</p></div></li>
<li>Let&#8217;s create a connection for PostgreSQL Database.
<div id="attachment_6796" style="width: 669px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6796" class="size-full wp-image-6796" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png" alt="ssis-PostgreSQL-create-connection" width="659" height="746" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png 659w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection-265x300.png 265w" sizes="(max-width: 659px) 100vw, 659px" /></a><p id="caption-attachment-6796" class="wp-caption-text">Create PostgreSQL Database Connection</p></div></li>
<li>Let&#8217;s select the Table mode and select the table and click on preview.
<div id="attachment_6798" style="width: 658px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6798" class="size-full wp-image-6798" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png" alt="ssis-PostgreSQL-preview-table" width="648" height="622" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png 648w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table-300x288.png 300w" sizes="(max-width: 648px) 100vw, 648px" /></a><p id="caption-attachment-6798" class="wp-caption-text">PostgreSQL Table Preview</p></div></li>
<li>You can also use the query mode to filter the data and do more operation using query. You can find our several Examples also by clicking on &lt;&lt;View Examples&gt;&gt;.
<div id="attachment_6797" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6797" class="size-medium_large wp-image-6797" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-768x529.png" alt="ssis-PostgreSQL-preview-query" width="720" height="496" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-768x529.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-300x207.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query.png 857w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-6797" class="wp-caption-text">PostgreSQL Query Preview</p></div></li>
<li>That&#8217;s it we are ready to load PostgreSQL Table data to SQL Server.</li>
</ol>
<h2>Load PostgreSQL Table data into SQL Server</h2>
<div class="content_block" id="custom_post_widget-5617"><p>ZappySys SSIS PowerPack makes it easy to load data from various sources such as REST, SOAP, JSON, XML, CSV or from other source into SQL Server, or PostgreSQL, or Amazon Redshift, or other  targets. The <strong>Upsert Destination</strong> component allows you to automatically insert new records and update existing ones based on key columns. Below are the detailed steps to configure it.</p>
<h3>Step 1: Add Upsert Destination to Data Flow</h3>
<ol>
<li>Drag and drop the <strong>Upsert Destination</strong> component from the SSIS Toolbox.</li>
<li>Connect your source component (e.g., JSON / REST / Other Source) to the Upsert Destination.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2017/08/ssis-data-flow-drag-drop-upsert-destination.png" /></a>
<p class="wp-caption-text">SSIS - Data Flow - Drang and Drop Upsert Destination Component</p>
</div>
<h3>Step 2: Configure Target Connection</h3>
<ol>
<li>Double-click the <strong>Upsert Destination</strong> component to open the configuration window.</li>
<li>Under <strong>Connection</strong>, select an existing target connection or click <strong>NEW</strong> to create a new connection.
<ul>
<li>Example: SQL Server, or PostgreSQL, or Amazon Redshift.</li>
</ul>
</li>
</ol>
<h3>Step 3: Select or Create Target Table</h3>
<ol>
<li>In the <strong>Target Table</strong> dropdown, select the table where you want to load data.</li>
<li>Optionally, click <strong>NEW</strong> to create a new table based on the source columns.</li>
</ol>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-configuration.png" /></a>
<p class="wp-caption-text">Configure SSIS Upsert Destination Connection - Loading data (REST / SOAP / JSON / XML /CSV) into SQL Server or other target using SSIS</p>
</div>
<h3>Step 4: Map Columns</h3>
<ol>
<li>Go to the <strong>Mappings</strong> tab.</li>
<li>Click <strong>Auto Map</strong> to map source columns to target columns by name.</li>
<li>Ensure you <strong>check the Primary key column(s)</strong> that will determine whether a record is inserted or updated.</li>
<li>You can manually adjust the mappings if necessary.</li>
</ol>
 <div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2020/09/upsert-destination-key.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination - Columns Mappings</p>
</div>
<h3>Step 5: Save Settings</h3>
<ul>
<li>Click <strong>OK</strong> to save the Upsert Destination configuration.</li>
</ul>
<h3>Step 6: Optional: Add Logging or Analysis</h3>
<ul>
<li>You may add extra destination components to log the number of inserted vs. updated records for monitoring or auditing purposes.</li>
</ul>
<h3>Step 7: Execute the Package</h3>
<ul>
<li>Run your SSIS package and verify that the data is correctly inserted and updated in the target table.</li>
</ul>
<div class="wp-caption aligncenter">
<a href="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png">
<img loading="lazy" decoding="async" class="size-full" alt="" src="https://zappysys.com/blog/wp-content/uploads/2018/12/ssis-upsert-destination-execute.png" /></a>
<p class="wp-caption-text">SSIS Upsert Destination Execution</p>
</div></div>
<h2><span id="Conclusion">Conclusion</span></h2>
<p>Above all, in this blog, we learned how to Read data from PostgreSQL in SSIS. We used <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> to read the data from PostgreSQL Table and load data into SQL Server Table. 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>
<h2><span id="References">References</span></h2>
<p>Finally, you can use the following links for more information:</p>
<ul>
<li><a href="https://www.postgresql.org/about/" target="_blank" rel="noopener">About PostgreSQL</a></li>
<li><a href="https://www.postgresql.org/docs/" target="_blank" rel="noopener">PostgreSQL Documentation</a></li>
<li><a href="https://www.tutorialspoint.com/postgresql/postgresql_select_query.htm" target="_blank" rel="noopener">PostgreSQL – SELECT Query</a></li>
<li>Help File : <a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-postgresql-source.htm" target="_blank" rel="noopener">PostgreSQL Source</a></li>
</ul>
<p>The post <a href="https://zappysys.com/blog/export-postgresql-table-data-sql-server-ssis/">Export PostgreSQL Table Data to SQL Server in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Load PostgreSQL Table Data to CSV File in SSIS</title>
		<link>https://zappysys.com/blog/ssis-load-postgresql-table-data-csv-file/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Sat, 13 Apr 2019 11:15:16 +0000</pubDate>
				<category><![CDATA[SSIS CSV File Destination]]></category>
		<category><![CDATA[SSIS PostgreSql Connection]]></category>
		<category><![CDATA[SSIS PostgreSQL Source]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=6767</guid>

					<description><![CDATA[<p>Introduction ZappySys provides high performance drag and drop connectors for PostgreSQL Integration. In this post you will see how to Load PostgreSQL Table Data to CSV File using SSIS PostgreSQL Source. PostgreSQL Source supports SQL language to query PostgreSQL data. PostgreSQL is a powerful, open source relational database with strong reputation for reliability, feature robustness, and performance. In [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/ssis-load-postgresql-table-data-csv-file/">Load PostgreSQL Table Data to CSV File in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-Source.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignleft wp-image-6771 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-Source.png" alt="ssis-PostgreSql-Source" width="100" height="100" /></a>ZappySys provides high performance drag and drop connectors for PostgreSQL Integration. In this post you will see how to Load PostgreSQL Table Data to CSV File using <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a>. PostgreSQL Source supports SQL language to query PostgreSQL data. PostgreSQL is a powerful, open source relational database with strong reputation for reliability, feature robustness, and performance.</p>
<p>In nutshell, this post will focus on how to Load PostgreSQL Table Data and write into CSV File using <a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=trash-destination.htm" target="_blank" rel="noopener">Trash Destination</a> in few clicks. You can also use the <a href="https://zappysys.com/products/ssis-powerpack/ssis-csv-file-destination/" target="_blank" rel="noopener">CSV Destination</a> instead of Trash destination if you wants more option like compressed file gzip (*.gz) or zip, wants to splitting the file by row count of file size and more.</p>
<h2><span id="Prerequisite">Prerequisite</span></h2>
<ol>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Thirdly, You have obtained PostgreSQL Credential.</li>
<li>Finally, do not forget to install <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a></li>
</ol>
<p><strong>Components Mentioned in this article</strong><br />
<div class="su-table su-table-alternate">
<table style="width: 390px;height: 160px">
<tbody>
<tr style="height: 40px">
<td style="width: 33px;height: 40px"><img loading="lazy" decoding="async" src="https://i1.wp.com/zappysys.com/onlinehelp/ssis-powerpack/scr/images/postgresql-source/ssis-postgresql-source.png" alt="SSIS Amazon S3 CSV File Source" width="32" height="32" /></td>
<td style="width: 357px;height: 40px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a></td>
</tr>
<tr style="height: 40px">
<td style="width: 33px;height: 40px"><img loading="lazy" decoding="async" src="https://i0.wp.com/zappysys.com/onlinehelp/ssis-powerpack/scr/images/csv-destination/ssis-csv-file-destination.png?w=720&amp;ssl=1" alt="SSIS Amazon S3 CSV File Destination" width="32" height="32" /></td>
<td style="width: 357px;height: 40px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-csv-file-destination/" target="_blank" rel="noopener">CSV Destination</a></td>
</tr>
<tr style="height: 40px">
<td style="width: 33px;height: 40px"><img loading="lazy" decoding="async" src="https://i2.wp.com/zappysys.com/images/ssis-powerpack/SSIS-Trash-Destination-Adapter.png?w=720&amp;ssl=1" alt="SSIS Amazon S3 XML File Source" width="32" height="32" /></td>
<td style="width: 357px"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/trash-destination.htm" target="_blank" rel="noopener">Trash Destination</a></td>
</tr>
</tbody>
</table>
</div>
<h2>What is PostgreSQL?</h2>
<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 <a href="https://www.postgresql.org/docs/current/history.html" target="_blank" rel="noopener">POSTGRES</a> project at the University of California at Berkeley and has more than 30 years of active development on the core platform.</p>
<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 <a href="https://www.postgresql.org/download/" target="_blank" rel="noopener">all major operating systems</a>, has been <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 <a href="https://postgis.net/" target="_blank" rel="noopener">PostGIS</a> geospatial database extender. It is no surprise that PostgreSQL has become the open source relational database of choice for many people and organisations.</p>
<p><a href="https://www.postgresql.org/docs/current/tutorial.html" target="_blank" rel="noopener">Getting started</a> with using PostgreSQL has never been easier &#8211; pick a project you want to build, and let PostgreSQL safely and robustly store your data.</p>
<h2>Download and Install PostgreSQL</h2>
<p>Please go to below download link and download the Windows version Binary package and install it and follow the steps from the installer.</p>
<p><a href="https://www.postgresql.org/download/" target="_blank" rel="noopener">https://www.postgresql.org/download/</a></p>
<div id="attachment_6774" style="width: 530px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6774" class="wp-image-6774 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480.png" alt="ssis-PostgreSql-download" width="520" height="706" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480.png 520w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-download-e1555505700480-221x300.png 221w" sizes="(max-width: 520px) 100vw, 520px" /></a><p id="caption-attachment-6774" class="wp-caption-text">PostgreSQL Download</p></div>
<h2>Create PostgreSQL Database and Table</h2>
<ol>
<li>To do this, we will first open the pgAdmin Panel.
<div id="attachment_6776" style="width: 434px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6776" class="wp-image-6776 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png" alt="Open pgAdmin" width="424" height="680" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin.png 424w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-open-pgadmin-187x300.png 187w" sizes="(max-width: 424px) 100vw, 424px" /></a><p id="caption-attachment-6776" class="wp-caption-text">Open PostgreSQL pgAdmin Panel</p></div></li>
<li>It will open the pgAdmin Panel in the browser. Select Server and Right click on Databases to create database.
<div id="attachment_6777" style="width: 555px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6777" class="wp-image-6777 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png" alt="PostgreSql Select Create Database" width="545" height="484" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase.png 545w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-select-createdatabase-300x266.png 300w" sizes="(max-width: 545px) 100vw, 545px" /></a><p id="caption-attachment-6777" class="wp-caption-text">PostgreSQL Select Create Database</p></div></li>
<li>Enter the Database name and click on Save to create it.
<div id="attachment_6778" style="width: 727px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6778" class="wp-image-6778 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png" alt="Create PostgreSQL Database" width="717" height="583" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database.png 717w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSql-create-database-300x244.png 300w" sizes="(max-width: 717px) 100vw, 717px" /></a><p id="caption-attachment-6778" class="wp-caption-text">Create PostgreSQL Database</p></div></li>
<li>Now select the created database under it expand Schemas and right click on Tables and click on create Table.
<div id="attachment_6780" style="width: 575px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6780" class="wp-image-6780 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png" alt="PostgreSQL Select Create Table" width="565" height="846" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table.png 565w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-create-table-200x300.png 200w" sizes="(max-width: 565px) 100vw, 565px" /></a><p id="caption-attachment-6780" class="wp-caption-text">PostgreSQL Select Create Table</p></div></li>
<li>Now enter the table name and go to columns tab.
<div id="attachment_6782" style="width: 531px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6782" class="wp-image-6782 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png" alt="PostgreSQL Enter Table Name" width="521" height="472" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name.png 521w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-name-300x272.png 300w" sizes="(max-width: 521px) 100vw, 521px" /></a><p id="caption-attachment-6782" class="wp-caption-text">PostgreSQL Enter Table Name</p></div></li>
<li>Add the columns by clicking add button and give the desire column name and select the datatype for the same.
<div id="attachment_6783" style="width: 622px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6783" class="wp-image-6783 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png" alt="PostgreSQL Add Table Columns" width="612" height="500" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns.png 612w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-add-table-columns-300x245.png 300w" sizes="(max-width: 612px) 100vw, 612px" /></a><p id="caption-attachment-6783" class="wp-caption-text">PostgreSQL Add Table Columns</p></div></li>
<li>Now, let&#8217;s insert some data using Query Editor.
<div id="attachment_6790" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6790" class="size-medium_large wp-image-6790" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-768x712.png" alt="PostgreSQL Insert Data in Table" width="720" height="668" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-768x712.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table-300x278.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-insert-data-in-table.png 843w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-6790" class="wp-caption-text">PostgreSQL Insert Data in Table</p></div></li>
<li>That&#8217;s it, now let&#8217;s move forward to read the data from this table using <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> in the next the section.
<div id="attachment_6792" style="width: 351px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6792" class="size-full wp-image-6792" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png" alt="PostgreSQL Select Query Data" width="341" height="426" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data.png 341w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-select-query-data-240x300.png 240w" sizes="(max-width: 341px) 100vw, 341px" /></a><p id="caption-attachment-6792" class="wp-caption-text">PostgreSQL Select Query Data</p></div></li>
</ol>
<h2><span id="Getting_Started">Getting Started</span></h2>
<p>In order to start, we will show several examples. ZappySys includes an <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> that will help you extract large amount of data from a PostgreSQL Database. PostgreSQL Source supports Multiple modes (i.e. Table or Query) to read data from PostgreSQL Database and many more operations. Here we are showing you is, How to read data from PostgreSQL collection.</p>
<p>You can connect to your PostgreSQL database by entering your PostgreSQL credentials.</p>
<h2>Load PostgreSQL Table Data to CSV File</h2>
<p>Let´s start with an example. In this SSIS PostgreSQL Source Task example, we will load the PostgreSQL table data to CSV file.</p>
<ol>
<li>First of All, Drag and drop Data Flow Task from SSIS Toolbox and double click it to edit.
<div id="attachment_7934" style="width: 470px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="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><p id="caption-attachment-7934" class="wp-caption-text">Drag and Drop : Data Flow Task from SSIS Toolbox</p></div></li>
<li>Drag and Drop PostgreSQL Source Task from the SSIS Toolbox and double click on it to edit it.
<div id="attachment_6795" style="width: 618px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6795" class="size-full wp-image-6795" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png" alt="PostgreSQL Source" width="608" height="321" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source.png 608w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-drag-drop-PostgreSQL-source-300x158.png 300w" sizes="(max-width: 608px) 100vw, 608px" /></a><p id="caption-attachment-6795" class="wp-caption-text">PostgreSQL Source</p></div></li>
<li>Let&#8217;s create a connection for PostgreSQL Database.
<div id="attachment_6796" style="width: 669px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6796" class="size-full wp-image-6796" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png" alt="Create PostgreSQL Database Connection" width="659" height="746" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection.png 659w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-create-connection-265x300.png 265w" sizes="(max-width: 659px) 100vw, 659px" /></a><p id="caption-attachment-6796" class="wp-caption-text">Create PostgreSQL Database Connection</p></div></li>
<li>Let&#8217;s select the Table mode and select the table and click on preview.
<div id="attachment_6798" style="width: 658px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6798" class="size-full wp-image-6798" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png" alt="PostgreSQL Table Preview" width="648" height="622" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table.png 648w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-table-300x288.png 300w" sizes="(max-width: 648px) 100vw, 648px" /></a><p id="caption-attachment-6798" class="wp-caption-text">PostgreSQL Table Preview</p></div></li>
<li>You can also use the query mode to filter the data and do more operation using query. You can find our several Examples also by clicking on &lt;&lt;View Examples&gt;&gt;.
<div id="attachment_6797" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6797" class="size-medium_large wp-image-6797" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-768x529.png" alt="PostgreSQL Query Preview" width="720" height="496" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-768x529.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query-300x207.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-preview-query.png 857w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-6797" class="wp-caption-text">PostgreSQL Query Preview</p></div></li>
<li>Now let&#8217;s add Trash destination Task and edit it and enter the CSV File Path.
<div id="attachment_6799" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-to-trash-destination.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6799" class="size-medium_large wp-image-6799" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-to-trash-destination-768x525.png" alt="Trash Destination : Setup CSV File Path" width="720" height="492" srcset="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-to-trash-destination-768x525.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-to-trash-destination-300x205.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-to-trash-destination.png 792w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-6799" class="wp-caption-text">Trash Destination : Setup CSV File Path</p></div></li>
<li>That&#8217;s it now execute the package and it will load data from PostgreSQL Table to CSV File.
<div id="attachment_6800" style="width: 234px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-csv-data.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6800" class="size-full wp-image-6800" src="https://zappysys.com/blog/wp-content/uploads/2019/04/ssis-PostgreSQL-csv-data.png" alt="PostgreSQL : CSV Data" width="224" height="282" /></a><p id="caption-attachment-6800" class="wp-caption-text">PostgreSQL : CSV Data</p></div></li>
</ol>
<h2><span id="Conclusion">Conclusion</span></h2>
<p>Above all, in this blog, we learned how to Read data from PostgreSQL in SSIS. We used <a href="https://zappysys.com/products/ssis-powerpack/ssis-postgresql-source/" target="_blank" rel="noopener">SSIS PostgreSQL Source</a> to read the data from PostgreSQL Table and load data into CSV File. 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>
<h2><span id="References">References</span></h2>
<p>Finally, you can use the following links for more information:</p>
<ul>
<li><a href="https://www.postgresql.org/about/" target="_blank" rel="noopener">About PostgreSQL</a></li>
<li><a href="https://www.postgresql.org/docs/" target="_blank" rel="noopener">PostgreSQL Documentation</a></li>
<li><a href="https://www.tutorialspoint.com/postgresql/postgresql_select_query.htm" target="_blank" rel="noopener">PostgreSQL – SELECT Query</a></li>
<li>Help File : <a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-postgresql-source.htm" target="_blank" rel="noopener">PostgreSQL Source</a></li>
</ul>
<p>The post <a href="https://zappysys.com/blog/ssis-load-postgresql-table-data-csv-file/">Load PostgreSQL Table Data to CSV File in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
