Mapping over more than 1 schema

Hi,
I have to do the following mapping:
Workspace user: user_ws
Transfer data from user send_user.table1 to get_user.table2
Whe I create 2 locations (localtion_send_user and location_get_user the 2 owners of the 2 tables) I can see the 2 tables (1 in each schema/location)
How can I create a mapping as user_ws using both tables and locations?
Please help me
Siegwin

You may have NULL values in those columns:
test@ORA10G>
test@ORA10G> --
test@ORA10G> with t as (
  2    select 100 id, 1 a,  10 b  from dual union all
  3    select 100,    2,    20    from dual union all
  4    select 100,    3,    null  from dual union all
  5    select 100,    null, 40    from dual union all
  6    select 100,    null, null  from dual)
  7  --
  8  SELECT SUM(a + b) AS c
  9    FROM t
10   GROUP BY ID;
         C
        33
1 row selected.
test@ORA10G>You probably want to see 76 here. So -
test@ORA10G>
test@ORA10G> --
test@ORA10G> with t as (
  2    select 100 id, 1 a,  10 b  from dual union all
  3    select 100,    2,    20    from dual union all
  4    select 100,    3,    null  from dual union all
  5    select 100,    null, 40    from dual union all
  6    select 100,    null, null  from dual)
  7  --
  8  SELECT SUM(NVL(a,0) + NVL(b,0)) AS c
  9    FROM t
10   GROUP BY ID;
         C
        76
1 row selected.
test@ORA10G>
test@ORA10G>If you simply get a NULL, I'll bet you have NULLs for all records in both those columns.
test@ORA10G>
test@ORA10G> --
test@ORA10G> with t as (
  2    select 100 id, null a,  null b  from dual union all
  3    select 100,    null,    null    from dual union all
  4    select 100,    null,    null  from dual union all
  5    select 100,    null, null    from dual union all
  6    select 100,    null, null  from dual)
  7  --
  8  SELECT SUM(a + b) AS c
  9    FROM t
10   GROUP BY ID;
         C
1 row selected.
test@ORA10G>Use NVL. Make life easy.
isotope

Similar Messages

  • Persisting CMP bean over more than one table

    Hello,
    I was wondering if it is possible to persist an Entity Bean over more than
    one table using CMP. For example 3 attributes go in table A and 2 attributes
    go in table B.
    I can see this might come in handy when having some kind of inheritance in
    your architecture.
    Thanks,
    Rein Reezigt

    CMP are based on one DB object however object could be a database table or a
    view. You can create a view and base your bean on that view. This is mostly
    useful for read-only entity beans that just do select queries because databases
    have all kind of different restrictions on update froma view, ( for example
    ORACLE allows update to only one table in view). However in case you need a
    logical abstraction of multiple tables, consider EJB2.0 relations or a product
    like toplink for your object to relational mapping.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Rein Reezigt wrote:
    Hello,
    I was wondering if it is possible to persist an Entity Bean over more than
    one table using CMP. For example 3 attributes go in table A and 2 attributes
    go in table B.
    I can see this might come in handy when having some kind of inheritance in
    your architecture.
    Thanks,
    Rein Reezigt

  • Gridbaglayout over more than one panel

    hi
    i have a problem aligning my label / textfield combos.
    there are several rows where each contains a label and a textfield. my problem is that they are distributed over more than one panel.
    i have one gridbaglayout which manages my labels / textfields. what i want is that the labels are ALL the same width - it works fine for each panel but i cant bring that stuff to work that the widest label stands for ALL other labels.
    i hope you can imagine what my problem is. please help since i am kinda unsuspecting ;)
    thx

    Hey,
    Please download the application mentioned in it.
    When i have excuted the application i could find sort enabled for all the columns.
    wdContext.currentContextElement().getTableSorter().sort( wdEvent, wdContext.nodeTableSet() );
    Please check it..
    Jithin
    Edited by: jithin james on Apr 16, 2009 10:47 AM

  • TableSorter over more than one columns like Excel

    Hi Experts,
    do you have a example for TableSorter over more than one columns like Excel?
    Thank you very much.
    regards
    Steffen

    Hey,
    Please download the application mentioned in it.
    When i have excuted the application i could find sort enabled for all the columns.
    wdContext.currentContextElement().getTableSorter().sort( wdEvent, wdContext.nodeTableSet() );
    Please check it..
    Jithin
    Edited by: jithin james on Apr 16, 2009 10:47 AM

  • Can I have one cell in a table extending over more than one column?

    I'd like to be able to have a table in which some cells extend over more than one column.
    In Word, I can just delete the right hand cell border, and the cell automatically stretches over the next column.
    (Pages 5.2.2.)
    Thanks

    Pages v5 is not an MS Word clone, and therefore, it doesn't matter what you did in Word. Select the adjacent table column cells, and then either two-finger tap, or right-click and choose merge cells from the contextual menu.

  • Can One GL be mapped to more than one House Banks

    Dear SAP Gurus
    I have a query
    Can one GL be mapped to more than one House bank.
    as a business requirement, we need to map 2 different bank accounts to same GL and both will have different Cheque series for Automatic payment program .

    Hi,
    You meant to say in maintain same GLs iin Account IDs under single House Bank? GLs are assigned to each account IDs under a House Bank  not directly with a House Bank.
    Anyway, it is possible to map single GL to multiple Bank Accounts of House Bank, but as a standard function it is advisable to map each GL to different Bank A/c so that automatic reconcilation wont create any problem while selecting open items.
    Regards
    Prasad AV

  • Port map to more than one 'private IP address'

    Hi,
    probably a silly question, but ...
    Is it possible to port map on an Airport Express to more than one private IP address? IOW, if the first IP address is not available/active, then the port is forwarded to the second IP address.
    Grant

    Hi iFelix,
    yes, I have 2 networks, home & studio. I take my powerbook with me between the 2. When I am in one of them, I want to be able to control the other.
    At the moment, I can map to another machine (not my powerbook) in the Airport Express settings and then I can connect via VNC. If however, I want to have a more complete control, I need to map port 3283 specifically to my powerbook. Obviously, if the powerbook is with me, then it's not where I'm not, if you follow the rather Pooh bear logic.
    My problem would be solved if I could map to one IP address as default, with a second if that address were not resolved/found/available.
    As for VPN, yes as I have gleaned from much browsing of net and these forums, this would solve my problem, but it seems overly complicated to set up for a non-IT person. Looking at the interface for a router/modem is a frightening thing for people who only do this once in a blue-moon.
    Grant
    AluBook 17    

  • Is it possible to synch a folder (or image) over more than one LR catalog?

    For example: I have a Lightroom catalog for business photography and a Lightroom catalog for family - occasionally I will have photos that belong in both categories, I would like to have the originals accessible by both catalogs with changes made in either catalog synchronised to the other.
    I am using LR 5.6
    thankyou,
    Michael

    Sure you can... however you would be best to have just one catalog as it is tricky keeping files in more than one catalog in sync and knowing what changes have been made where and when.
    Try using different Collections for business and family. I have over 500k files in one catalog....I use collections for clients and other needs.

  • Iweb'09 google map adding more than one address

    Is it possible to add more than one address to a single map. I am a gardener and wanted to show on one map where all my customers are.

    Wyodor wrote:
    Can you do it in Google Maps?
    Have you read the Google Maps Help?
    Go where the knowledge is.
    http://maps.google.com/support/
    http://maps.google.com/support/bin/topic.py?topic=23520
    [Add content to maps|http://maps.google.com/support/bin/answer.py?hl=en&answer=67842]
    After my less-than-satisfying experience with you in a thread I have noticed that you seem to make post after post with little putdowns of the users you are responding to. Would it be possible adjust your manner? It is especially annoying since your answers are not consistently correct or helpful.

  • Can I split a spreadsheet table over more than one page?

    Is is possible to split a table so that data can be linked from page to page?
    I would like to have a table with formulas on page 2 referencing data from another linked table on page 1 of a Pages document.
    I know this used to be possible in Appleworks. In fact I have some old Appleworks docs like this, but when I try to open them in Pages they get scrambled. Any ideas anybody?

    Thank you both for your help. It sounds as though the answer is "No, this can't be done"
    Neither of the 2 options suggested quite fit the bill as my document is a text document report with embedded tables, which do need to refer to each other across more than one page, but still needs to be well laid out for printing and easy reading by others. It seems strange that something which was easy to achieve in Appleworks should be impossible in iWorks, since I thought this was meant to be the replacement program after Apple stopped developing Appleworks.

  • SUM over more than 1 column

    Hi,
    I want to summate the values in more than 1 column. My code is like this
    SELECT SUM(Column_A + Column_B) AS Column_C FROM TABLE GROUP BY ID
    but this doesn't work.
    I also tried
    SELECT SUM(Column_A & Column_B) AS Column_C FROM TABLE
    doesn't worked either ...
    Any ideas?
    Greetings from Germany
    Lars

    You may have NULL values in those columns:
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> with t as (
      2    select 100 id, 1 a,  10 b  from dual union all
      3    select 100,    2,    20    from dual union all
      4    select 100,    3,    null  from dual union all
      5    select 100,    null, 40    from dual union all
      6    select 100,    null, null  from dual)
      7  --
      8  SELECT SUM(a + b) AS c
      9    FROM t
    10   GROUP BY ID;
             C
            33
    1 row selected.
    test@ORA10G>You probably want to see 76 here. So -
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> with t as (
      2    select 100 id, 1 a,  10 b  from dual union all
      3    select 100,    2,    20    from dual union all
      4    select 100,    3,    null  from dual union all
      5    select 100,    null, 40    from dual union all
      6    select 100,    null, null  from dual)
      7  --
      8  SELECT SUM(NVL(a,0) + NVL(b,0)) AS c
      9    FROM t
    10   GROUP BY ID;
             C
            76
    1 row selected.
    test@ORA10G>
    test@ORA10G>If you simply get a NULL, I'll bet you have NULLs for all records in both those columns.
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> with t as (
      2    select 100 id, null a,  null b  from dual union all
      3    select 100,    null,    null    from dual union all
      4    select 100,    null,    null  from dual union all
      5    select 100,    null, null    from dual union all
      6    select 100,    null, null  from dual)
      7  --
      8  SELECT SUM(a + b) AS c
      9    FROM t
    10   GROUP BY ID;
             C
    1 row selected.
    test@ORA10G>Use NVL. Make life easy.
    isotope

  • Voiceover over more than one clip

    I am trying to make a voiceover that spand more than one clip however the tool only seems to let me speak for the length of the actual clip rather than rolling on to the next clip and so on.
    Am i trying to do something i Movie cant do or is there a trick i am missing

    You need to put the multiple clips on a higher track and extend them so that handles exist. Then nest, and shorten the nest to fit into the space allotted. Then apply dissolve.
    Nest will end where it ended when you created it. So make it long (including 'handles'), then place into its space in the timeline, then apply dissolve---or leave it on a higher track and apply dissolve there.

  • Cannot burn a playlist over more than one CD

    I have developed the following problem:
    If I try to burn a playlist which requires more than one CD, I get the usual message asking me if I want to burn on more than one audio CD to which I reply yes. Once the first CD is finished I get the message to insert another CD which then proceeds to burn the songs already burned on the first CD instead of moving on to the next batch!
    Also sometimes the song names etc are included on the burned CD but usually they are not.
    Is this a problem particular to me or is it an iTunes 8 gift?
    I have repaired permissions and this makes no difference.

    patience, patience. You have to remember that no one gets paid here. We're all volunteers. Your question probably just slipped through the cracks.
    OK
    Yes you can use multiple drives. I do it all the time. I usually have one drive dedicated as my Capture drive where I keep all of my captued footage and then other drives for all of the other stuff, ie graphics, music, etc...

  • How can I use the RMS.vi over more than one period?

    Hi everyone,
    I am using the Cycle average and RMS.VI to get the RMS value of a alternative voltage (2kHz). To acquire this signal I am using a differentiel AI of a 6225 card (at 250kS/s) and the RMS value is correct, it works fine. However from what I have understood, this VI calculates the RMS value according to only one period no matter how many samples I have acquired (2000 samples in the VI I have attached). Is this correct? If so, is ithere a way to use it over all of the 2000 samples to get a more averaged value? Or does another VI exist?
    I could repeat several time an acquisition of a short number of samples (a period) and make an average but it would take some time and I have to do this with 39 other Inputs on the same card one after the other...
    Thank you for your help,
    User
    Attachments:
    Forum.vi ‏76 KB

    User_1979 wrote:
    ....could you tell me if this VI sends a rms value of X compleat periods (even if I have send X periods and a half for example)?
    It gives the RMS value of only the newest set of data.
    The RMS and RMS Pt. By Pt. work for me, but it depends on how you break out that Dynamic Data from the Express VI, which was why I suggested you didn't use it - mainly because you can't tell what happens to that data when you wire it to a function and it coerces. Actually, I should say, I can't tell what happens to it. You may know, but I don't.  
    In the attached screenshot, I have "made" a 2k sine wave with an amplitude of 5. The indicators show RMS value.
    Richard
    Attachments:
    rms.gif ‏14 KB

  • WCF-WebHttp Variable mapping with more than 255 Characters

    Hi all,
    I am using WCF-WebHttp send-receive port to query data from SalesForce. I have query as promoted property and it is mapped with {query} variable in Http Method and URL mapping. It works perfectly when my query has less than 256 characters (promoted property
    character limit), but I have to use longer queries. URL does not allow variable concatination which means I can't use multiple promoted properties. Please suggest a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    Hi,
    You can review the suggestion made on the
    post. Might help.
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for