Update Data in Sql Server table based on Excel column value

More
9 months 1 day ago #25809 by Sean
Hello

I have an Excel spreadsheet as a Source (reader) and I want to update an OBDC SQL Database (Target Writer) with records from it.

I want to update all records contained in the Source—ONLY IF the column named "boolNeedsUpdate" in the Target == true.

I've researched the Validation editor, but that seems to allow me to apply conditions based on the source columns, but I need to only update records based on that column from the Target (Writer).
  1. How do I update all Target records from the mapped Source, only if the Target "boolNeedsUpdate" column == true?
  2. How do I write those rejected records from the source (when Target.boolNeedsUpdate == false) to a Text File.
Thank you in advance,
Sean
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
9 months 1 day ago #25810 by admin
We will create a video for you, should be ready by the end of the day

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
9 months 18 hours ago #25811 by admin
Here it is.

I am sorry for the delay we had an emergency support issue


Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
8 months 4 weeks ago #25814 by prashant
Thanks for the video ! I never thought we could do a IS IN LIST use like this , in fact today only I was going to do a query to check for existing entries , this will save a query 

Please Log in or Create an account to join the conversation.

More
8 months 4 weeks ago #25816 by Sean
Hello,

Thank you for the quick response. This approach look like it will work nicely for my project. 

Kind regards,
Sean

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save