<?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>columns Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/tag/columns/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/tag/columns/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Thu, 16 Apr 2026 21:54:16 +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>columns Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/tag/columns/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to detect missing columns in SSIS</title>
		<link>https://zappysys.com/blog/detect-missing-columns-in-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys Team]]></dc:creator>
		<pubDate>Tue, 08 Oct 2019 23:12:08 +0000</pubDate>
				<category><![CDATA[SSIS Tips & How-Tos]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=8111</guid>

					<description><![CDATA[<p>How to detect extra columns or missing columns Sometimes, we need to validate the input columns to check for extra or missing columns in SSIS. ZappySys includes some pretty nice tools, but some of them cannot check the required values. To fix that problem, you can complement these tools with our Regular Expression Parser Task. [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/detect-missing-columns-in-ssis/">How to detect missing columns in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>How to detect extra columns or missing columns</h2>
<p><img decoding="async" class="alignleft size-full" src="https://i0.wp.com/zappysys.com/blog/wp-content/uploads/2018/03/ssis-regex-parser-task.png?resize=114%2C114&amp;ssl=1" alt="ssis reg expression task" width="114" height="114" />Sometimes, we need to validate the input columns to check for extra or missing columns in SSIS. ZappySys includes some pretty nice tools, but some of them cannot check the required values. To fix that problem, you can complement these tools with our Regular Expression Parser Task.</p>
<p>We will use Regular Expressions to validate the columns. For example, we want to check that the file has 3 columns with specific names, if it contains extra columns or there are missing some columns, we want to send an error. We will show you how to do this.</p>
<p>We will be using this <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a> component to make things work:<br />
<div class="su-table su-table-alternate">
<table width="300">
<tbody>
<tr style="line-height: 0px">
<td width="50px"><a href="https://zappysys.com/blog/using-regular-expressions-in-ssis/" target="_blank" rel="noopener"><br />
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-3074" src="https://i0.wp.com/zappysys.com/blog/wp-content/uploads/2018/03/ssis-regex-parser-task.png" alt="SSIS REST API Web Service Task " width="50" height="50" /></a></td>
<td style="vertical-align: middle"><a href="https://zappysys.com/blog/using-regular-expressions-in-ssis/" target="_blank" rel="noopener">SSIS Regex Task<br />
</a></td>
</tr>
</tbody>
</table>
</div>
<div class="content_block" id="custom_post_widget-2523"><h2><span id="Prerequisites">Prerequisites</span></h2>
Before we perform the steps listed in this article, you will need to make sure the following prerequisites are met:
<ol style="margin-left: 1.5em;">
 	<li><abbr title="SQL Server Integration Services">SSIS</abbr> designer installed. Sometimes it is referred to as <abbr title="Business Intelligence Development Studio">BIDS</abbr> or <abbr title="SQL Server Data Tools">SSDT</abbr> (<a href="https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt" target="_blank" rel="noopener">download it from the Microsoft site</a>).</li>
 	<li>Basic knowledge of SSIS package development using <em>Microsoft SQL Server Integration Services</em>.</li>
 	<li>Make sure <span style="text-decoration: underline;"><a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a></span> is installed (<a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">download it</a>, if you haven't already).</li>
 	<li>(<em>Optional step</em>)<em>.</em> <a href="https://zappysys.zendesk.com/hc/en-us/articles/360035974593" target="_blank" rel="noopener">Read this article</a>, if you are planning to deploy packages to a server and schedule their execution later.</li>
</ol></div>
<h2>Creating a CSV file</h2>
<ol>
<li>To start, we will create a plain text or CSV file with some columns. Create a file named file.txt or any name of your preference.</li>
<li>Add data similar to the following:</p><pre class="crayon-plain-tag">name,lastname,email
Clint,Eastwood,ceastwood@gmail.com
Cameron,Diaz,cdiaz@gmail.com</pre><p>
</li>
</ol>
<h2>ZS Regular Expression Parser to detect missing columns in SSIS</h2>
<ol>
<li>First, SSDT opens an SSIS project.</li>
<li>Now, it is time to use the ZS Regular Expression Parser.</li>
<li>Secondly, drag and drop the ZS Regular Expression in the design pane:
<div style="width: 592px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/regex-parser-task/ssis-regex-parser-task-drag.png" alt="Regex SSIS task" width="582" height="102" /><p class="wp-caption-text">SSIS Regular Expression parser</p></div></li>
<li>In <strong>AccessMode</strong>, use <strong>Connection</strong> and create a new connection.</li>
<li>Select the file you created before. Click OK to save the configuration.
<div id="attachment_12033" style="width: 698px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-Create-connection-to-a-local-file.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12033" class="size-full wp-image-12033" src="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-Create-connection-to-a-local-file.png" alt="" width="688" height="575" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-Create-connection-to-a-local-file.png 688w, https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-Create-connection-to-a-local-file-300x251.png 300w" sizes="(max-width: 688px) 100vw, 688px" /></a><p id="caption-attachment-12033" class="wp-caption-text">Regular Expressions Parser Task &#8211; Create a connection to a local file</p></div></li>
<li>Add the following expression to the Task and test it:<br />
<pre class="crayon-plain-tag">^name,lastname\r\n</pre>
</li>
<li>In the previous scenario, the expression will fail because it is missing the email.
<div id="attachment_12038" style="width: 818px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-fail.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-12038" class="size-full wp-image-12038" src="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-fail.png" alt="" width="808" height="618" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-fail.png 808w, https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-fail-300x229.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-fail-768x587.png 768w" sizes="(max-width: 808px) 100vw, 808px" /></a><p id="caption-attachment-12038" class="wp-caption-text">Regular Expressions Parser Task &#8211; detect missing columns example fails</p></div></li>
<li>Finally, the following Expression <pre class="crayon-plain-tag">^name,lastname,email\r\n</pre>  will pass, because the email is included.
<div class="mceTemp"></div>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-12032" src="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example.png" alt="" width="808" height="618" srcset="https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example.png 808w, https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-300x229.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/10/Regular-Expressions-Parser-Task-detect-missing-columns-example-768x587.png 768w" sizes="(max-width: 808px) 100vw, 808px" /></a></li>
</ol>
<h2>Conclusion</h2>
<p>In this article, we learned how to validate and check the columns in a file in ZappySys using the ZS Regular Expression Parser. In the example, we created an expression to detect an exact match of columns. It will raise an error if a failure occurs.</p>
<p>If you want to enjoy this and other ZappySys tools, you can download our product <a href="https://zappysys.com/products/ssis-powerpack/download/">here</a>.</p>
<p>The post <a href="https://zappysys.com/blog/detect-missing-columns-in-ssis/">How to detect missing columns in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
