Address Ref should be the same

Hi,
I ve a query to be run in ODI.
The issue is I ve a staging table with the values
CUST_REF SITE_CODE ADD_REF ADDRESS1 ADDRESS2 CITY STATE POST_CODE CUSTOMER_NAME
03071755201 BILL_TO 03071755201 11 LYNETTE AVE EVANS ST CARLINGFORD NSW 2118 AMANDA
03071755202 SHIP_TO 03071755202 11 LYNETTE AVE EVANS ST CARLINGFORD NSW 2118 AMANDA
So my query is whenever THE CUSTOMER_NAME, SITE_CODE, ADDRESS1, ADDRESS2, CITY, STATE, POST_CODE are equal then the SITE_CODE should have the same number.
So the output should be
CUST_REF SITE_CODE ADD_REF ADDRESS1 ADDRESS2 CITY STATE POST_CODE CUSTOMER_NAME
0307175520 BILL_TO 03071755201 11 LYNETTE AVE EVANS ST CARLINGFORD NSW 2118 AMANDA
0307175520 SHIP_TO 03071755201 11 LYNETTE AVE EVANS ST CARLINGFORD NSW 2118 AMANDA
0307175520 SHIP_TO 03071755201 11 LYNETTE AVE EVANS ST CARLINGFORD NSW 2118 AMANDA
Please do help me to get this.
Waiting for answers.
Regards,
Murali
Message was edited by:
user627791
Message was edited by:
user627791

Hi Murali,
I didn't understood well.
Please, how do you decide duplicate the second line? What is you decision factor?
Too, how to change the CUST_REF as showed in the output sample?
I couldn't get it....

Similar Messages

  • My old computer crashed a few days ago. And my backup external drive apparently did not save my old Firefox profile, but my IP address should be the same. Any way to recover my old Bookmarks?

    When I set up my new computer, my internet connection & modem for DSL is the same, so my IP address should be the same. But I had to reinstall Firefox and I can't find the file for my old Firefox profile. If my IP address is the same, is there any way Firefox can recover my old bookmarks?

    See this support article: <br />
    https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    Your old Profile is located here in Win XP and W2K: <br />
    ''drive'':\Documents and Settings\''Windows login user name''\Application Data\Mozilla\Firefox\Profiles\''profile_name''

  • When i send a text via icloud my e-mail address is sent at the same time ?

    when i send a text via icloud my e-mail address is sent at the same time instead of the reciever getting my number or if i am in their phonebook they should get my name

    Welcome to the Apple community.
    Check your settings> messages and see if iMessages is turned on and if so how many 'receive at' addresses you are using, it may well be that your email address is entered as one of these addresses.

  • Two users on mac should share the same entourage calendar

    Hello everybody!
    I have two users on my macbook. I use entourage for personal organisation and i would like to share this entourage calendar with the two users. To make it more clear: Every user should see the same entourage calendar. How can manae to get this result? Is there some button in the system settings, that i need to push?
    Thanks for help!

    Probably best to ask in the Entourage forum.
    [http://www.officeformac.com/ProductForums/Entourage|http://www.officeformac.com /ProductForums/Entourage>

  • Row selection in Table should be the same, if we came back to the page?

    Hello All,
    I am using JDeveloper 11g.
    I created one adf Table on jsp(empPage) page and selected one row(single selection) , than user can move to other page(to finish some other task), after coming back to the earlier page(empPage), row selection should be the same.
    Can you please help me?
    --Neelmani Jaiswal
    Edited by: Neelmani Jaiswal on Jan 11, 2009 12:09 PM
    Edited by: Neelmani Jaiswal on Jan 11, 2009 12:10 PM

    check this post here. I still have the same issue.
    Code for getting the selected row in ADF Table 11G prod

  • Two iphoto albums - should be the same, but extra images reported in one

    I have two iphoto albums which in theory should contain the same images - but one is reporting around 5500 and the other around 5570 - is there a simple way to identify the additional 70 images ?
    cheers for any help
    macbook air 6,2
    os x 10.10.1
    iphoto 9.6

    I guess at some point I must have added some files which are not on the phone - I can't think what and it probably doesn't matter - its just the not knowing that bugs me
    You could create a smart album in your library on the 2009 iMac and search for photos that have not been taken by the iPhone camera:
    This will show all photos you imported from other sources:
    Try the command:
         File > New Smart album
    Then set the Smart rule to "Camera Model is" and select your iPhone.
    After selecting the phone, switch the rule to "Camera Model is not", and you will see all photos that did not come from your iPhone.

  • HT2486 is address book and contact the same program

    I need to build and print a mailing list, is Address Book and Contact the same program on my Macbook Pro?  I was considering getting Bento4 - not sure what to do

    Tbugs2 wrote:
    is Address Book and Contact the same program on my Macbook Pro? 
    Yes.
    Address Book came with OS X 10.7 Lion and earlier versions of OS X.
    Contacts comes with  OS X 10.8 Mountain Lion.
    Apple changed the application name.

  • 2 queries should return the same result (but they dont...)

    hello
    i have a following query:
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink where
    DATUM between '1-jan-1985' and '31-dec-2012'
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);the above query returns the count: 143 982 for year 1991
    however when i put the filter directly into this year the query returns a different number: 143 917
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink  where
    DATUM between '1-jan-1991' and '31-dec-1991'
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);please can you help me understand why is this happening and why these 2 counts are different?
    id appreciate any tips
    thanks very much
    rgds

    UserMB wrote:
    please can you help me understand why is this happening and why these 2 counts are different?
    id appreciate any tipsThis is tricky. All others of cause are right. You must compare date columns with date values.
    If you don't explicitly compare as a date value, then it might happen that a string comparison is made.
    And if that happens both of your counts would return a wrong result. For example all dates that start with
    '4' are not counted. Like '4-jan-1991'. The string '4-jan-1991' is greater then the string '31-dec-1991'. Therefore it would not be included in the count.
    I don't think this happened. But the danger is there.
    However I have a problem seeing, what the difference between your two counts can be.
    The two important parts are the date between filter and the group by condition.
    DATUM between '1-jan-1985' and '31-dec-2012'
    DATUM between '1-jan-1991' and '31-dec-1991'
    group by col1,extract(year from DATUM);The second option returns less results than the first option. Some rows must be missing because of this different filter condition.
    If this would be a text comparison then there shouldn't be a difference. Only if it is a date comparison then this could be explained.
    Here is an example:
    Dates like 31-dec-1991 17:53:14 are included in the first count+group, but not included in the second count.
    Why? Because the string '31-dec-1991' is converted into a date. This date is 31-dec-1991 00:00:00 (midnight). Everything from this day, that is not exactly on midnight is greater than this value and therefore not included in your second query.
    So as others already pointed out you need to either truncate the date or to compare it a little differently.
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink 
    where DATUM >= to_date('01-01-1991','dd-mm-yyyy')
    and  DATUM < to_date('01-01-1992','dd-mm-yyyy')
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);This should give the same result as your first query.
    Note that I changed the month from a month name to a number. This makes it independent from national language settings. E.g. DEZ = German, DEC = American
    Edited by: Sven W. on Oct 9, 2012 2:04 PM

  • Why quality sytem disk space  should be the same as Production disk space

    Hi All,
    Why quality sytem disk space should be the same as Production system disk space. Please give few points and also the impact if the disk spaces are not same. Its URGENT.

    Karunakar,
    It all depends on what you do with your QA system. I personally don't think QA and Prod should be of the same size.
    QA is your testing environment, the one where you perform the final tests and validations before going to Prod.
    In my personal experience and practice, for QA:
    - Daily loads of Master Data - Master Data is good to keep it updated, for obvious reasons
    - No daily transactions loads - You can load your transaction data on demand, depending on the specific area you need to test. You can initialize and load sample periods or sets of data. Once you're done, that's it.
    - No copy from BW Prod to QA - You really don't need to. As far as they do "refresh" from R/3 Prod to R/3 QA, you'll have data in QA good enough to test. Also, copying Prod to QA in BW can mess your transports sequence and put the systems out of sync or make you re-transport requests that were already in QA but not in Prod. Also, by doing those copies, it's like having two Production systems to maintain... Your landscape and maintenance costs will grow much faster
    In my opinion, Development and QA have a controlled growing, following those guidelines. Only Prod will keep growing during time, which makes sense.
    My 2 cents...
    Regards,
    Luis

  • Invalid address when it's the same as always?

    Suddenly can't download or update on my iPad. Says invalid address but it's the same as I have always had. Help.

    There are a number of threads about this problem - it looks like Apple recently updated their address validation. Some people have had success by :
    ensuring that their iTunes account address is exactly the same as appears on their credit card bill
    putting something in the second line of the address (including just copying the first line)
    expanding abbreviations e.g. St to Street, Ave to Avenue etc (or conversely abbreviating)
    putting apartment or suite number on the second address line

  • HT2731 can I set up a second email address on iCloud using the same apple id

    can I set up a 2nd email address on iCloud using the same apple I'd for a 4s iPhone?

    You can create up to 3 alias @icloud.com email addresses for that purpose.  They will all receive email in your existing iCloud inbox and they can be deactivated or deleted if they attract too much spam.  This article explains how to create an alias address: http://support.apple.com/kb/PH2622.

  • HT204053 I need to change my i cloud e-mail address to the same one I set up when I purchased my apple account I just created an I cloud address and when Ijust read the set up for I cloud it says  I should use the same e-mail address that I started with H

    I did not know that when I created a e-mail address that I was suppose to use the same one that I created when I first signed up with Apple I phone. I want to change my e-mail address to the one I first had How can I change it? I do not need two e-mail accounts It should have read that when you are setting up an e-mail address use the one that you first signed up with. Not after you go through all the set ups for I cloud it tells you at the end to use your account that you first started with. Can you please help me I am new at this and I still can not set up on my computer with my phone to I cloud so if I had my phone stollen I can find it I also have and I pad to set up yet It is 3 days and I still can not set it up
    Thank You and Hoplefully I can change my e-mail address so I can have everything on one account

    If you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
    You will have to set up a separate iCloud account or your iPads will mirror each other.

  • Where does Sting to IP get the net address if the computer is disconnected from the net? It should return the same I

    P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?Thanks in advance for your help.

    P/Net address� it did not change. Internet Protocal(TCP/IP) Properties did not change. When the network is physically disconnected, my VI after several runs returns 127.0.0.1. So, how do I get my IP address whether it�s connected to the network or not?If you're getting a dynamically assigned IP address from the network, then String to IP will return that IP but it may not be constant. See if TCP/IP properties are set to "Obtain an IP address automatically". If you disconnect from the network, then the IP address will default to something and I wouldn't be surprised if the default is 127.0.0.1. If you want to always have the same IP, then the ICP/IP properties should be changed to use a fixed IP but you'll certainly need to check with your IS department before doing so.

  • DNS - Can't resolve website address because it is the same as domain name:

    Our internal users can't resolve a web address because their domain name is the same as the address.  I'm hoping I can get some advice on what I should do on the DNS server.  My first challenge is, when I look-up address on Arin.net it does not
    come up with anything. CUAMERICA.COM is the domain.  I don't even know the ip address it is resolving to. 

    If I ping www.cuamerica.com I get 38.108.184.171, so in your DNS, in the Forward Lookup Zone for CUAMERICA.COM create a new Host (A) record, call it
    www and give it the IP address of 38.108.184.171

  • WRT54GS: without Windows, force a given MAC address to always get the same IP address via DHCP?

    I have just now set up my WRT54GS to manage my home wireless network, and it works great. I just have one question that I haven't been able to find an answer for (forgive me if I have overlooked an obvious source of information).
    I have set up the WRT54GS to be a DHCP server, and it assigns addresses in an ad hoc manner to all the devices that connect to it. In general, this is what I want, but in one case, I want a certain host to always get the same IP address, for example, 192.168.1.10.
    You should know that I have no Windows machines on my network. Everything is either running Linux, MacOSX, or Symbian (on a Nokia N95 handheld). Therefore, I can't set up a static IP for my device using the software supplied on the CD that comes with my router, as that software only runs under Windows.
    Using a different manufacturer's router, I am able to accomplish this by telling the DHCP software on that router to always assign 192.168.1.10 to the host who connects with a certain MAC address. I can then use this mechanism to force my specific host to always get this desired IP address. However, I haven't been able to find any way to do that with the WRT54GS without the software on the Windows-based CD. Is it possible at all? If I can indeed do this without that Windows software, could someone point me to some docs which explain how to accomplish this?
    ... or is there perhaps a different way to cause this to happen, perhaps by means of some sort of DHCP client ID?
    Thank you very much in advance for any pointers you can give me.
    Message Edited by HippoMan on 10-16-2007 05:27 PM
    Take a hippopotamus to lunch today.

    Forget about the CD. There is nothing on the CD which you don't configure better through the router web interface at http://192.168.1.1/ You don't need the CD. Never. I have never used the CD to configure any of my routers. The program on the CD is just a software which helps you with the initial configuration of the router. It is just a software which pretty much contacts the web interface in the background and sends some settings changes there. You can do everything yourself directly. Then you know what you change.
    You have to configure the static IP address on the computer and on the computer only, e.g. on your Mac use Static IP instead of DHCP in the network preferences. Enter the IP address you want to use for the computer, the subnet mask, gateway address and DNS server(s). That's it. The router is not involved in any of this.
    You just have to make sure that you use an IP address inside the LAN of the router. By default, Linksys routers use the IP address 192.168.1.1 on the LAN side for the the router. The subnet mask is 255.255.255.0. The IP address together with the subnet mask says that all IP addresses 192.168.1.0-255 are considered part of the LAN. Everything else is outside and needs to be routed to the router and from there into the internet. (If you want to know how the subnet mask works exactly read the wikipedia article on it or search for "subnet calculator" or similar in the internet)
    Thus, if you connect a computer to your LAN and set a static IP address on the computer it should be inside this IP address subnet/range in order to have internet and LAN access on the computer. It does not matter which address you use as long as it is inside the IP subnet. The DHCP server on the router automatically assign a correct IP address inside the IP subnet and also automatically assigns the correct gateway address (its own address = the address to which everything should be sent which does not belong into the LAN, i.e. the internet traffic) and the DNS server. With static IP you have to assign those values yourself.
    But again, there is no Windows computer or CD involved to do that nor is there any configuration on the router required to set the static IP address on the Mac. The IP address you set must simply match your LAN IP which is basically defined through the settings on the router as you want to have internet and thus need access to the router and its address 192.168.1.1.
    Some routers allow you define fixed IP addresses for specific devices in the DHCP server of the router. With that function you can set a fixed IP address on the router. The computer can remain on DHCP. It will always get the IP address you have configured in the list on the router through the DHCP server. However, your Linksys router does not have this option. If any device inside your LAN is supposed to receive the same IP address at any time you have to configure that on the device only.
    If you have not changed the default LAN IP address, subnet mask and DHCP server settings on the router, the router has 192.168.1.1, subnet mask 255.255.255.0 and the DHCP server uses 192.168.1.100-149 for dynamic assignments. To avoid potential address conflicts you should not use any static IP addresses inside the DHCP server address pool. This leaves you with IP addresses 192.168.1.2-99 and 150-254 as static IP addresses inside your LAN. You can pick any address you like as long as any device with a static IP address has a unique IP address inside your LAN.
    Assign the subnet mask 255.255.255.0 on the computer and set the default gateway to 192.168.1.1. The DNS servers are a little bit more complicated. Generally it is better and faster if you use the DNS servers of your ISP. You can, however, also use the IP address of the router 192.168.1.1 as DNS server. The router will then operate as DNS proxy, i.e. it contacts the DNS servers of your ISP for any request from your computer.
    If you want to use the DNS servers of your ISP, click on the Status tab in the router web interface. It shows you the current settings of the router on the internet port. It should show you multiple entries for DNS servers. Choose those DNS server IP addresses in the computer.
    If you don't want to go through the hassle with the direct access to the DNS servers of your ISP, simple use 192.168.1.1 as only DNS server on the computer.
    There are all settings you have to make on your Mac or other computers to assign a static IP address. As long as the IP address is inside 192.168.1.* it belongs to the LAN and has internet access through the router (as long as the default gateway address is 192.168.1.1 of course).
    Firmware is loaded either through the web interface of the router, usually somewhere on the Administration tab or with tftp. Both ways work fine on any Mac or Linux box.

Maybe you are looking for

  • How to dynamically load any number of VIs and spawn a new thread for each

    Hi, I'm trying to spawn several TCP listening threads, the number of which is dynamic based upon a configuration file which is read at runtime. With with the included code, I am attempting to open and call these listening threads from a for loop, thi

  • IPhone 5 without losing unlimited data and without paying Retail?

    Ok Verizon. This is pretty disappointing. I switched over from AT and T because they nickel and dime everything and also because their service sucks. Also, I wanted to keep my unlimited data plan when I swich. I paid a premium to get iPhone 4S and Go

  • Ipod clicker wheel will not work!!

    My ipod i had for about a 9 months worked fine until the other day the wheel is not working ive tried the menu and center to restart it never worked wheel still is broken!!!please help!!!

  • Am I going mad? Passing values between blocks seems impossible...

    Hello, I am having extreme difficulty getting the most basic of oracle forms functionality to work, and am starting to go mad. All I want to do is pass a value between blocks, with said value being used as part of a query to populate a block. E.g. SE

  • ACE Module Radius with ACS 4.2

    Hi, I am able to authenticate to my ACE modules via Radius, but when I login it does not give my Admin rights. Does anyone have a fix for this? My ACS admin has been working with TAC since last week to no avail. John...