How can I use a Lookup task to lookup from my SQL Result set and have a join

So in my Control Flow, I have an Execute SQL Task which gets my Table result set. I then have a Foreach Loop Container that iterates through the result set and a Data Flow. The first task in the Data Flow is an OLE DB Source SQL Command that retrieves data
columns associated with my result set. I then do a Derived Column so I can SUBSTRING from one of my data columns and now I want to perform a Lookup to my Application Database.
How do I code my Lookup task to utilize my SQL Result set variable and match on it? I cannot use the GUI for the Lookup task as my Lookup has to have some JOINS in it.
Thanks for your review and am hopeful for a reply.

Can you expand on that? I'm sorry but I am new and a novice to the SSIS world and I want to do this as best I can and as efficiently as I can. Are you saying that Rajen's way suggested above is the way to go?
A little background....external data from a 3rd party client. I'v staged that external data to a SQL Server staging table. I have to try and match that data up to our database using SSN, DOB, and Gender...and if I can't match that way then I have to try
and match by Name. I need to make sure that there is only one and only one account for that match. If I cannot match and match one and only one, then I'll create rows on a DataAnomaly Table. If I do match, then I have to check and make sure that there is only
one and only one Member span for that match. Similarly handle the data anomaly and then check and make sure there is a "Diabetes" claim and similarly handle the DataAnomaly accordingly.
That's where I'm at. Sooooo are you saying to use Rajen's suggestion? I don't think I can do that because I need multiple SQL tasks and I cannot connect multiple OLE DB Source tasks.
Any help and suggestions are greatly appreciated.
Thanks.

Similar Messages

  • How can I use ONE Text search iView to event/affect mutliple Result Sets?

    hello everyone,
    i have a special situation in which i have 6 flat tables in my repository which all have a common field called Location ID (which is a lookup flat to the Locations table).
    i am trying to build a page with a free-form text search iView on Table #1 (search field = Location ID).  when I execute the search, the result set for Table #1 is properly updated, but how do I also get Result Set iViews for Tables #2-6 to also react to the event from Text Search for Table #1 so that they are updated?
    i don't want to have to build 6 different text search iViews (one for each table).  i just want to use ONE text search iView for all the different result set tables.  but, in the documentation and iView properties, the text search iView doesn't have any eventing.
    if you have any suggestions, please help.
    many thanks in advance,
    mm

    hello Donna,
    that should not be a problem, since you are detailw with result sets and detail iviews because custom eventing can be defined for those iviews.
    Yes, it says "no records" found because an active search and record selection havent' been performed for it (only your main table does).
    So, yes, define a custom event, and pass the appropriate parameters and you should be fine.
    Creating a custom event between a Result Set iView and an Item Details iView is easy and works. I have done it.
    See page 35 of the Portal Content Development Guide for a step-by-step example, which is what I used.
    For my particular situation, the problem I'm having is that I want the Search Text iView's event (i.e., when the Submit button is pressed) to be published to multiple iViews, all with different tables.  Those tables all share some common fields, which is what the Search iView has, so I'd like to pass the search critera to all of the iViews.
    -mm

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • HT5616 How can I use my apple ID to buy from different app stores (different countries)?

    How can I use my apple ID to buy from different app stores (different countries)?

    You can only use a country's store if you are in that country and have a billing address in that country on your account - are you in the country that you want to buy content from ? If you are then you can update the billing address on your account to be your address there (if using a credit card then that will need to have been issued by a bank in that country) via the Store > View Account menu option on your computer's iTunes.

  • I just downloaded iCloud on my PC and noticed that fewer than half of my photo stream photos have transferred over to my PC.  Why is this happening and how can I get the remaining photos?  All of my devices are charged and have perfect internet signals.

    I just downloaded iCloud on my PC and noticed that fewer than half of my photo stream photos have transferred over to my PC.  Why is this happening and how can I get the remaining photos?  All of my devices are charged and have perfect internet signals.  Thanks in advance for any tips and insights!

    It's probably happing because photo stream photos only remain in iCloud for 30 days (even though your last 1000 photos will remain on your devices until deleted).  When you enabled photo stream on your PC you would have only received photos from the last 30 days.
    To transfer older photos to your computer, create a shared photo stream that contains them and invite yourself as a subscriber (see http://help.apple.com/icloud/#mmc0cd7e99).

  • My gf is one of those ppl with the horrible habbit of downloading anything and everything the internet tells her she needs how can i use FF to better protect her from the various virus she downloads on a regular basise

    as i write this i have just restored my gf's computer back to default factory setings and cleaned the HD she has a horrible habbit of downloading anything and everything something tells her to download it her most recent actions caused her to dl a virus along with a prog called "flv tube" ive never heard of it but in less then 5 mins on google i found it to be common with viruses how can i use FF to prevent and or stop her from downloading all this crap so im not always having to fix it for her

    Public Fox: https://addons.mozilla.org/firefox/addon/3911
    Be aware that an extension can easily be bypassed by starting Firefox in [[Safe mode]] or by using the portable Firefox version.

  • How can I use (transfer image or music) Bluetooth from my iPhone?, How can I use (transfer image or music) Bluetooth from my iPhone?

    Hi
    How can I use bluetooth of my iPhone?

    You cannot transfer music/images via bluetooth.  This has never been a feature of the iphone.
    Bluetooth is supported for:
    Stereo headsets/speakers, handsfree telephone devices, some keyboards, some apps from the app store, and internet tethering if provided by the carrirer

  • How can I remove my very old Apple ID from my Iphone 4S as I have created other apple IDs.The old one is still staying on my mobile but that email doesn't exist anymore. I cant rest my mobile as this email address is staying my icloud setting.

    Q:-
    How can I remove my very old Apple ID from my Iphone 4S. The old ID is still staying on my mobile but that email doesn't exist anymore. I cant rest my mobile as everytime i tried it asks ID password which I don't remember.

    Hello mushysun,
    Thanks for using Apple Support Communities.
    If you did not sign out of your Apple ID on your iPhone before creating a new one, then you will need to sign back in with your previous Apple ID and then sign out.  If you do not remember your password and do not have access to the email account, then you can reset your password by using the security questions.
    If you forgot your Apple ID password - Apple Support
    Have a great weekend,
    Alex H.

  • How can I called java.lang.Math.sqr function from PL/SQL?

    JVM is loaded and I've queried the system table showing there are more than 9000 JAVA class objects.
    When I try something like:
    select java.lang.Math.sqrt(9) from dual;
    I get ORA-00904 (invalid column name) error. How can I invoke standard java.lang.Math methods in PL/SQL?
    tia

    You need to write a PL/SQL wrapper for the java call.
    Then you just call the PL/SQL function..
    -------PL/SQL wrapper
    FUNCTION GetFullName( code varchar2) RETURN NUMBER
    AS LANGUAGE JAVA
    NAME 'ResponseXml.GetPersonFullName(java.lang.String) return java.lang.String';
    Now you can do
    Select GetFullName( 'mycous' ) from dual;

  • HT1178 How can I use Time Capsule to move music from one computer to another?

    I want to move all the music I have on my old laptop (macbook) to my new macbook pro. How can I do this? Easy, simple, steps would be greatly appreciated!

    Are you moving the itunes library?? That is entirely different to moving just music.
    Apple have specific instructions for moving libraries..
    And there is no need to use the TC.. other than as a switch and router.. share the folder in one Mac to copy to.
    http://support.apple.com/kb/HT1449

  • HT5395 How can I use Messages on my Mac if it is not already set up?

    I am trying to use iMessage on my mac, but the Messages app doesn't seem to be set up on my computer. How can I get this app set up?

    What OS version are you running. Messages is only available on 10.8.x, Mountain Lion.

  • How can I use a PCMCIA RS-485 card from a LabView .exe?

    Hi all,
    We are going to be taking a LabView application and compiling it into an executable (.exe) for use by someone who does not have LabView.  This program requires use of either a National Instruments PCMCIA RS-485 card or possibly a USB RS-485 card.  The question is this - how do I use the card since we will not be able to run the MAXX software ahead of time to "install" the card?
    Thanks,
    Jason

    Hi Jason,
    On this deployment machine, you will need to have NI-Serial, NI-VISA, and the LabVIEW Run-time Engine. The version of the LabVIEW run-time engine will need to be the same version as the application was developed on. This can be downloaded from the Drivers and Update page or an installer can be created to install your application as well as the necessary run-time engine.
    If your application has RS-485 communication, you will need to install both NI-Serial and NI-VISA on this deployment machine. NI-Serial is the driver for the NI PCMCIA-485 or NI USB-485. The NI-Serial driver allows the devices to be properly configured and recognized in Windows. NI-VISA gives you the programming capability in LabVIEW. You can add both the VISA run-time engine and NI-Serial to your installer. You will need both of these drivers with the NI Serial hardware.
    You will have to run through the "Found New Hardware" Wizard when you install the hardware initially on this deployment computer, but setting up the baud rates and communication configuration should be done in your application as normal.
    I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • How can I use iCloud to sync to just my account on my iMac and not to my husband's account?

    I have an iMac using OS X 10.7.5.  I have separate accounts for myself and my husband.  I also have an iPhone and an iPad.  How do I get iCloud to sync my account with my iPad and iPhone without syncing with my husband's account on the iMac?

    If you are  using the same AppleID you cannot, just create seperate AppleID's and you should be OK.

  • Can I use my debit card to purchase from iTunes? I don't have a credit card

    From my iPod touch

    Whether you can use a debit card depends upon what country that you are in, have you tried adding it to your account to see if it's accepted ? If not then are iTunes gift cards available in your country so that you can use them as your payment method - they are not available in all countries and they are country-specific, they can only be redeemed and used in their country of issue.

  • How can I change a var in class C from class B if C and B are created in A?

    Hi!
    I have a little problem. It´s not really a Swing problem as you may believe by reading below, it´s about object creation.
    I have a JFrame class called TransactionDialog. The TransactionDialog contains a JPanel with a CardLayout.
    The CardLayout contains two components:
    1) JPanelStep1 (an own class that extends JPanel)
    2) JPanelStep2 (an own class that extends JPanel)
    I want a variable in JPanelStep2 to depend on what the user does in JPanelStep1.
    The question:
    Both the JPanelStep1 and JPanelStep2 objects are created in the TransactionDialog class. How can I call the JPanelStep2 object (which is created in TransactionDialog ) from JPanelStep1 if JPanelStep1 has to be created before JPanelStep2 in the TransactionDialog class?

    Jacobs has the right idea.
    If this variable is part of the SWING display, you can do it the quick and easy way by passing that display object to JPanelStep1 and allowing that panel to mutate the value.
    For instance:
    JPanelStep1 step1 = new JPanelStep1();
    JPanelStep2 step2 = new JPanelStep2();
    step1.setDependent(step2.getDependent());
    And the methods would be for example:
    void setDependent(JTextField field) {
    this.field = field;
    JTextField getDependent() {
    return field;
    And whenever the user interacts with JPanelStep1 and you want to alter the text as it displays in JPanelStep2 you just make a call in JPanelStep1 to:
    field.setText(updatedText);
    Do not forget though that if you do not have your MDT squared away, the update might not occur immediately, without calling to your JFrame or throwing a thread on the MDT with invokeAndWait()

Maybe you are looking for

  • AS 3.0 event target problem!!!

    I have an interesting problem regarding event.target in Flex 2/ActionScript 3.0. I am using the Flex Grocer app in order to try something out. I am attaching listeners to all the click events and then printing out event.target to keep track of my eve

  • Why can't I select shuffle slide order in my settings?

    Why can't I select shuffle slide order in my settings. . . I see it there as an option, but it won't let me choose it.  I don't want to manually shuffle 329 slides!

  • Can I turn off recent emails/contacts in iOS 6?

    I believe recent contacts/emails is a new feature of iOS 6. It is the feature that helps you auto-complete email addresses etc. I understand that in an enterprise environment this can be switched off. Can I switch off or block the recent contacts out

  • ISE deny access to Android devices

    I have a customer who likes to deny access to any Android devices on its guest service. (The network has an anchor WLC, the authentication is set as LWA) First I tried setting a simple AuthZ rule indicating "if Device-OS equals Android, then Deny Acc

  • Export workbooks not sharded with the oracle Discoverer Administrator

    Can anyone tell me how to export workbooks which are not shared with the discoverer administrator. When I use the command line dis4adm.exe /connect userid/password@db /export destination / workbook "workbookname' it toes only funtion for workbooks sh