<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Upload excel sheet without duplicates records.</title><link>https://community.appian.com/discussions/f/general/24406/upload-excel-sheet-without-duplicates-records</link><description>Hi Everyone, 
 I have the requirement so that users can upload excel sheet to the application and save into database table and if the records already exists in table then it will leave that duplicate record. 
 meaning, duplicate records from the sheet</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Upload excel sheet without duplicates records.</title><link>https://community.appian.com/thread/94208?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 14:43:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e25a117-004f-41a8-aa3f-e94f10e6216d</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi Shubham, I had similar requirement long back. if you are dealing with large data then i would suggest you to create a stored proc to handle all db tasks like update , insert and delete.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload excel sheet without duplicates records.</title><link>https://community.appian.com/thread/94207?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 14:42:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34421e72-8d7d-4331-ba39-d395cbea48a1</guid><dc:creator>shubhamy0001</dc:creator><description>&lt;p&gt;Thanks Naresh, Do you have sample query to compare data from two tables. This would be really helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload excel sheet without duplicates records.</title><link>https://community.appian.com/thread/94195?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 13:30:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85bcb3c3-a39e-4246-abd5-cee2ae59247b</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First you need to save this date in temp staging table, then you need to query staging table and your transitional table and compare your data with your&amp;nbsp;transactional table before writing. If the data already exist&amp;nbsp; do wrote this data to transactional table other wise write to your table.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: After you process your date delete data from staging table since you no longer need that data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>