..how do you group fields together in xml into one field? (sql:- address_line1||', '||address_line2||', '|| )

afternoon Gurus.
I take it by the errror messages produced I'm not able to do this..
select ....
address_line1||', '|| address_line2||', '|| address_line3||', '|| city|| Supplier_Address
from...
..in my XML Publisher xsl Data Template file..
Caused by: org.xml.sax.SAXParseException: <Line 13, Column 20>: XML-20201: (Fatal Error) Expected name instead of |.
So how can I acheive putting several fields into one like you can in SQL?
THanksForLooking..
Al

Untested, but try the following:
SELECT DISTINCT
       fnd.CREATION_DATE
      ,fnd.user_name
      ,fnd.start_date
      ,per2.last_updated_by
      ,per2.last_update_date
      ,per2.employee_number
      ,per2.EMAIL_ADDRESS
      ,per2.full_name
      ,fnd.LAST_LOGON_DATE
FROM fnd_user fnd
where fnd.End_Date is null
left outer join per_people_f per2 on (     fnd.employee_id              = per2.person_id
                                       and SUBSTR(per2.LAST_NAME, 2, 6) not like 'some characters'
                                       and per2.EMAIL_ADDRESS           LIKE '%priddle%' )
ORDER BY 2 ASC;Investigate multiple outer joins using the LEFT OUTER JOIN syntax
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/queries006.htm#SQLRF52354

Similar Messages

  • XML into one field

    Hi , we have a scenario where we have to move entire source structure into one of the fields of the target structure.
    Example:
    Source:
    item1
    description
    store
    storedescription
    price
    batch
    Target:
    item1
    store
    xmlstring
    we would like to do following mappings:
    1. item1 in source to item1 in target
    2. store in source to store in target
    3. entire source structure in XML format into xmlstring in target
    we reffered following blog , but couldnt map to our requirement.
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    XML to single element: Attn: Henrique
    Thanks,
    Rajesh

    HI
    I think you need to write UDF for this. there is library from apache called XML Serializer. Below is the sample file how you achieve that using that. Use that code in your UDF.
    http://www.informit.com/articles/article.asp?p=31349&seqNum=3&rl=1
    Even just concatenate into one field in the target during mapping and the send the data . this could also achive your requirments. no need to go for Java mapping
    thanks
    Swarup
    Edited by: Swarup Sawant on Feb 15, 2008 11:42 AM
    Edited by: Swarup Sawant on Feb 15, 2008 11:42 AM

  • How do you group icons together

    Brand new to Mac systems.  Can someone tell me if it's possible to group icons together.  Ex: put all games in 1 folder. Thanks.

    Touch and hold one of the apps and they should start shaking. Then drag one of them over the top of another and a folder should get created with those two apps in. You can then drag more apps over and into it, or create more folders in the same way (but you can't create folders within folders); press the home button when you've finished so as to stop the shaking. Some people find it easier to do when connected to iTunes using the device's apps tab it's easier to move things around via your computer, and changes don't get committed until you sync them onto the iPad.
    There is more info in the manual (chapter 3) which can be downloaded from here http://support.apple.com/manuals/iPad.

  • For some reason, I have several apple id's.  how do you merge several apple id's into one?

    I have one applied which is used in my iTunes account, another that is used for my MacBook Pro and another that is used for my iPhone 5s  How do I consolidate all of my apple id's into one?

    Apparently, you cannot do that:
    Set up your Apple ID for iCloud and iTunes - Apple Support
    If you have made purchases using more than one ID, call Apple Support and state your case. I have heard that they may be able to do something to help you.
    I do not know why Apple makes it so easy to create Apple IDs; they suggest creating them left and right, but make it very difficult to undo once a person realizes how bad it is to use multiple Apple IDs for the same purpose, for example, iTunes Store, or App Store purchases.

  • Putting 7 table fields into one field with line breakes included!

    Hi People
    I Need to assamble 7 fields from a view, into one field with some line brakes in Reports, how do I do that???
    E.g :
    Field names : Name, Collection1, StreetName, StreetNo, ExtraCity, ZipCode, City
    Should be put into one field called address and be displayed like this
    Name
    Collection1
    StreetName StreetNo
    ExtraCity
    ZipCode City
    I hope someone can help me *S
    /Stig :-)

    The following should give you some idea. It might depend if you run your report on Windows or Unix.
    select
    Name        || decode(Name, null, null, chr(13)||chr(10))||
    Collection1 || decode(Collection1, null, null, chr(13)||chr(10))||
    StreetName  || decode(StreetName, null, null, ' '||StreetNo||chr(13)||chr(10))||
    ExtraCity   || decode(ExtraCity, null, null, chr(13)||chr(10))||
    ZipCode     || decode(ZipCode, null, null, ' '||City )
    from MyView

  • How can I group books together in iTunes?

    How can I group books together in iTunes? Some .pdf books will group but others won't even though they have the same Author, Album Name and are part of a Compilation. I have inserted a picture below to illustrate my point; as you can see, some issues of X-men have grouped together but others still show separately.

    I have tried to attach the image again to show what I mean.
    All the .pdf files I imported are tagged as Books and display properly in the books section. It is only the grouping that is not working. As can be seen in the picture, I don't want to actually merge the .pdfs to a single book, just group them into one 'Album' I suppose as turingtest2 says. However, I have set the Artist, Album Name and Grouping fields to be the same for all files, all are marked as part of a compilation but still only the first 3 X-men issues are grouping together. Any more ideas?

  • How do you group icons on your screen

    How do you group icons, like making a games folder for your screen?

    From the iPad User Manual:

  • How can I group fetched Adobe Ideas files into projects?

    How can I group fetched Adobe Ideas files into projects? The overview tutorial did not warn to organize your files prior to the one time fetch option. In Draw FAQs it is stated that drawings can be organized into projects. However, I am unable to determine how. If anyone has insight, please advise. I have so many ideas files that navigating Illustrator Draw is difficult.

    If you go to the Overview page, there is a thread about importing from Ideas. It says:
    "To organize your files prior to importing into Draw, you can put them in folders in Creative Cloud or on your desktop. Individual Ideas files imported to Draw will come in as single-page projects. Each folder containing Ideas files will be imported as a Draw project containing the imported Ideas files."
    Not sure if you can put individual drawings into Projects together on the device, but would be interested to hear if you come up with a solution.

  • How do I consolidate all of my events into one big group of photos so I can see them all?

    The title says it all. How do I consolidate all of my events into one big group of photos so I can see them all? Instead a bunch of events.

    drag them together
    Or click on Photo in the source pane on the left and under the view menu uncheck show event titles
    LN

  • How do you have multiple apple id's with one itunes

    how do you have multiple apple id's with one itunes

    I have multiple IDs and use the single computer sharing itunes. By 'sharing' I mean we open the pc, open itunes and log in with our individual ID as required.
    While Im logged in I plug in  my device. I transfer my purchases from my device as per the file menu (not the check for auto downloads). I move them as required to whichever playlist I like.
    Then when my son wants to use itunes or update his device, he logs in, plugs in his device, transfers purchases from his device, puts whatever music he wants into his playlist and/or drags direct to the device regardless of who purchased it and then syncs.
    Im not sure how it works associating the pc with only one ID or all that other business- I know I don't fiddle with any of that.

  • How do you select an amount of songs at one time

    How do you select an amount of songs at one time because i need to change my Mp3 tags ( the bands name soo its all the same) =]Help?
      Windows XP  

    in order for this to work all the songs you want to change have to be right next to eachother in a list, one after the other.
    Select the first song you want to change. (it will be hilighted in blue)
    Hold down the shift key
    without letting up the shift key click the last song you wish to change. (any songs betwwen these to songs are now blue also)
    right click the blue patch of screen and click "get info"
    edit the feilds you wish to change, and click ok.
    superfreak9184me

  • How do you set up separate facetime accounts under one apple id

    how do you set up separate facetime accounts under one apple id

    This is possible, but I haven't found any official Apple topics about it, so I will share a nice web article about it on a Mac fan website:
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    Hope this helped!

  • HT204053 How do you get everything on an iPhone under one iTunes account to a different iTunes account?

    How do you get everything on an iPhone under one iTunes account to a different iTunes account?

    You cannot

  • How do you set up two different ipads on one computer ?

    I purchased a new ipad for my wife and want to get her started but we both use one imac as our desktop system.  How do you set up two different uses on one computer.
    Thanks,
    Dave

    Other options not covered in the article:
    1) You can plug both in under the same computer username and same iTunes Apple ID and give each device it's own name. You should be able to manage them as separate devices with different media, apps and screen layouts. All of your media would be in a common pool, though.
    2) Under one computer username, you can login and logout of two different iTunes Apple IDs. This option is cleaner with two computer usernames but it can be done with one.

  • How can you delete all the e mail at one time instead of one at a time?

    How can you delete all the e mail at one time instead of one at a time?

    you'd have to do it from the computer,

Maybe you are looking for

  • How to create SAP RAR file using NWDS 7.31: ResourceBundle issue

    Hello everybody, I successfully create SAP JCA Connector project for .java / .class files. When I try to use ResourceBundle in connector project, it isn't exported to JAR / RAR / EAR files. What should I do? The only builders are: * org.eclipse.jdt.c

  • How to "Re-Flow" Text in New Reply?

    This one stumped the Genius Bar at my local Apple Store yesterday; let's see if any "Alpha-Mails" here can do better: When you reply to a message which already contains quotes from various other contributors (each using different e-mail programs), so

  • Dynamic HtmlDataTable issue.

    I am populating the HtmlDataTable dynamically through an ArrayList of String[] objects(rowData) where rowData is populated from database. Its working fine. Now I need to create a Link inside the datatable where the target and text of the link is also

  • LMS 4.2.3 Unidentified Trap Generic Trap:6 Specific Trap:1 EnterpriseOid:.1.3.6.1.4.1.9.9.41.2

    Hi All, We are seeing unidentified traps continuously on the LMS 4.2.3. Unidentified Trap Generic Trap:6 Specific Trap:1 EnterpriseOid:.1.3.6.1.4.1.9.9.41.2 What are these traps and how to avoid the same. as these traps are coming from all the device

  • By default, which right has a user on a "external trusted" domain ?

    Hi, I would like to know what are the rights for users in DomA when a bidirectionnal external trust is in place with DomB ? By default, the user in DomA is member of "DomB\Domain User" (otherwise, how can the user in DomA can list the users in DomB f