Please give solution for tabing the record

Dear All,
I have a query, that i need to display data on seperate line on single row data.
For example
select 'VENDOR :'||b.value||''||b.name||''||l.c_location_id||''||l.phone||''||l.fax as bpartner_location,
'SHIPPING ADDRESS :'||''||O.ad_org_id||''||c.c_location_id||''||c.tphone||''||c.tfax as company_location
     FROM c_order o INNER JOIN c_bpartner_location l
          ON (o.c_bpartner_location_id = l.c_bpartner_location_id)
                    INNER JOIN ad_orginfo c
          ON (o.AD_ORG_ID = c.AD_ORG_ID)
          INNER JOIN c_bpartner b
          ON(b.c_bpartner_id = o.c_bpartner_id)
I need output like
VENDOR : 1234                    SHIPPING ADDRESS :
ABC company                      xyz company
No:14,annasali,                  No :1234, worli,
Chennai                           Mumbai
Tel : 044123456                  Tel : 02216654
Fax : 0441234567                 Fax: 022654656

Hi,
You can use chr function to generate a line break. Example:
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL> SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES WHERE EMPLOYEE_ID = 200;
FIRST_NAME           LAST_NAME
Jennifer             Whalen
SQL> SELECT FIRST_NAME || CHR(13) || LAST_NAME FROM EMPLOYEES WHERE EMPLOYEE_ID = 200;
FIRST_NAME||CHR(13)||LAST_NAME
Jennifer
Whalen
SQL>Regards,

Similar Messages

  • HT201406 my ipad touch screen is not working please give solution for it.

    my ipad touch screen is not working please give solution for it.
    i have connected ipad to itunes and done it restore seetings then also my touch is not working but
    when i connected ipad to i tunes inside functions are working properly but touch screen is not working what can i do

    If you have a screen protector on the iPad's screen, try removing it. If you don't or that doesn't help, and restoring the iPad to factory settings has not corrected the problem, then the iPad probably has a hardware problem and will need to be taken or sent to Apple for replacement.
    Regards.

  • Dear Friends, I am trying to draw a structure in Adobe Illustrator with 3D effect. But I am unable to give it proper shape. Can someone please help me for drawing the similar structure as showed below. I have facing problems in giving 3D effect.

    Dear Friends, I am trying to draw a structure in Adobe Illustrator with 3D effect. But I am unable to give it proper shape. Can someone please help me for drawing the similar structure as showed below. I have facing problems in giving 3D effect.
    Thanks a lot for your great help...

    i made a quick example:
    and what it's made of:
    just shapes and gradients. used a combination of pathfinder and shape builder to get the shapes exact.

  • HT1695 am using ipod touch, but my ipod cant support wifi connection. could you please give solution,,

    am using ipod touch, but my ipod cant support wifi connection. could you please give solution,,

    Is this your problem:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    It is frequently a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Otherwise:
    Does the iPod connect to other networks?
    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>GeneralReset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Please provide Solution for Customer Condition Group when defining 2 Chrt's

    Dear Guru's,
    Please provide Solution for Customer Condition Group when defining 2 Charecters or 2 digits.
    I have Completed all possible Combinations like AA,BA,1A,A1,01 to 99 etc.. Total Enteries reach upto 1200+ so I am unble to find no more Combinations( without Special Characters & no chance to increase other than 2 Char/digt)..
    Any body Suggest me any Good Combinations or Proper Alternative....
    Thanks,
    Panduranga

    Hi panduranga
    A Customer Condition Group is maintained in only 2 digits .If you want to go for more than 2 digits then you need to take the help of ABAP'er and you need to go for enhancement
    Regards
    Srinath

  • TS1702 Has anybody come up with a solution for updating the apps...!!!????

    Has anybody come up with a solution for updating the apps ....!!!!????

    Yes, I updated all the time.
    What's your problem.

  • I have iphone 4 with ios 7.0.3. but with ios 7.0.3 my phone is working very slow. please do something for all the iphone 4 user.

    i have iphone 4 with ios 7.0.3. but with ios 7.0.3 my phone is working very slow. please do something for all the iphone 4 user.

    Hi Tyler199869,
    If you are having issues making or receiving calls after updating your iPhone, you may find the following article helpful:
    iPhone: Troubleshooting issues making or receiving calls
    https://support.apple.com/kb/TS3406
    Regards,
    - Brenden

  • Creating a Trigger for Deleting the records from a parent Table

    I am new to creating Trigger
    We will need several small tables that will be used to store any records that are deleted by the owner of the table. These will likely need a trigger where we would Delete from the parent table and on that Delete populate the child table with the previous record's data.
    Please give me a pseudo code for this
    Thanks
    John
    Edited by: user10750995 on Dec 30, 2008 9:06 AM

    Something like this:
    CREATE OR REPLACE TRIGGER trg_my_table_hist
    AFTER DELETE
    ON my_table
    FOR EACH ROW
    BEGIN
    INSERT INTO Hist_MyTable
    ( column1, column2, ..., DELETION_DATE)
    VALUES
    (:OLD.column1, :OLD.column2, ...., SYSDATE);
    END;
    /My_Table is your main table. When a row is deleted, the trigger will be fired and copy the deleted row to another table called Hist_My_Table. I'm supposing that the history table has all columns as they are defined in main tables plus a column named DELETION_DATE.
    My experience indicates that, probably, it's a good idea maintain update history and the user. But it depends on your requests.
    Regards,
    Miguel

  • Need Sorter java  file   for sorting the records in webdynpro java

    Hi  Gurus
       I  had urgent requirement please give your inputs
       In my webdynpro java i need to sort entire records in table
       I now we need One sorter java class please provide that java file
       please suggest the all the steps how  to do
    Thanks
    renu.

    1. Implement class comparator wich will compare records according your sort preferencies,
    like this:
         public class record_Comparator implements Comparator{
              public int compare(Object emp1, Object emp2){
          // here is your code for return -1if 'before'  or 0 if equal or 1if 'after'
                   int stepId_1 = ((record)emp1).get_someValue();       
                   int stepId_2 = ((record)emp2).get_someValue();
                   if(stepId_1 > stepId_2)
                        return 1;
                   else if(stepId_1 < stepId_2)
                        return -1;
                   else
                        return 0;   
    than call method sort() with your collection of records,
    like this:
    Collections.sort(record_collection, new record_Comparator());

  • I want better solution for adjusting the Material stock values for the last

    my Customer  need to adjust( Decrease)  the closing stock values for the following materials / plant wise as on 31.03.2006 for meeting statuary compliance.
    Material1 :  RS: 4149599    QTY : 10181.03 Ltrs
    Material 2  : RS: 1318596     QTY:  2152.76   Ltrs
    As per my knowledge MM posting periods can open current month and Previous month only. For the reason I proposed the solution as follows:
    Step 1 : post FI Journal Entry on 31.03.2006
    Opening Balance G/L  Account Dr 4149599 + 1318596
    Closting Stock a/c                      Cr 4149599 + 1318596
    Step 2.
    Change the Material Price in MM through T.Code: MR21
    ( Posting will be allowed in current or previous months)
    This makes our CO reports accurate.
    Please  suggest the better solution if it is possible in MM for adjusting the Material stock values for the last financial year.
    WIth Best Regards,
    Rajesh
    <b></b>

    Hi Madhavan,
    Unfortunately this forum deals with migrations from non-Oracle
    environments to Oracle. You seem to be dealing with migrations in
    an Oracle environment mainly.
    I would recommend that you contact Oracle Applications and RDBMS
    support directly. They will have the most up to date
    information/advice on performing these actions.
    Regards
    John
    Madhavan (guest) wrote:
    : Hi John
    : Thanks for your reply.
    : Actually I am planning to upgrade the system.
    : 1. I Want to Upgrade Oracle Financials release 10.7 to the
    : latest version (11.x)
    : 2. Oracle 7 database to oracle 8 or 8i.
    : 3. Oracle is running on NT service pack 3. Do I need to upgrade
    : this?. If not what is the impact on Windows NT?
    : 4. Is the majority still running smart client 10.7 and database
    : 7?
    : 5. What is the necessary time to implement these upgrades? What
    : type of consulting I need to have?
    : 6. I have some employees working on it? Will these changes
    : affect them?
    : What type of precautions I need to take on the whole??
    : Thank You
    : Madhavan
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Solution for converting the UFF58--- UFF58b or UFF Ascii.

    Dear all,
    Rightnow, I'm working on vibration analysis by using LV signal express
    2010 which seem can be exported the measurement file as the UFF58. (Universal
    File Format)
    but my problem is; I have to use this measurement file with another program which accept only the UFF58b and UFF Ascii format.
    I try to find solutions for convert UFF58--->UFF58b or UFF Ascii.  Does anyone have an idea? Please help.
    Thank you in advance.

    It looks like the LabVIEW Sound and Measurement Suite would do the trick, or possibly Diadem, though I'm not sure if you have LabVIEW.  What program are you trying to open the file with?  It may also have a package you can download that supports all of the formats.  For instance, there appears to be a UFF file reader and writer if you Google "uff files" in the top result, but that's only if you were using a specific program.  But I suppose the easiest way would be if you already had the Sound and Measurement Suite.
    Regards,
    Jake G.
    National Instruments
    Applications Engineer

  • Please help me for checking the userid and password process

    hi master
    sir how i find any record such as user give userid and password in normat textfield thad not bound with data provider only i drop in page and also i drop dataprovider in page and i check that userid and password from table
    if found userid and password in table then move user to next page oterwise give message not righet user
    i am use this code but this code give me error
    see
    try {
    RowKey userRowKey = customerDataProvider.findFirst
    (new String[] { "CUSTOMER.USERID", "CUSTOMER.PASSWORD" },
    new Object[] { loginUserId.getText(), loginPassword.getText() });
    if (userRowKey == null) {
    error("Invalid user id or password");
    return null;
    i try this but this command also give me error
    textfieldy.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ==========
    textfiedlsetValue(getSessionBean1().getPartytableRowSet().setObject(1,partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ===========
    texfield.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID").toString());
    see error
    Possible Source of Error:
    Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
    File Name: CachedRowSetDataProvider.java
    Method Name: getFieldKeyInternal
    Line Number: 481
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeyInternal(CachedR owSetDataProvider.java:481)
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKey(CachedRowSetDat aProvider.java:439)
    com.sun.data.provider.impl.AbstractTableDataProvider.findFirst(AbstractTableDat aProvider.java:143)
    logintestform.Page1.button2_action(Page1.java:442)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun
    please give me idea how i find record in table
    thank's
    aamir

    Hi ,
    Wondering if you were able to get past this issue. If not , I would suggest checking the prefix's on the metadata of the column name.
    Radhika

  • Solution for all the people who installed iOS 5.0.1 in their iphone4 or iphone4s

    Dear All, Here is the solution to solve the problems you are facing after you install iOS5.0.1 in your iphone4 or iphone4s. Please try the below steps....hope no more issues such as "NO SERVICE", "SEARCHING" or phone gets hang-up....
    After installing iOS5.0.1 (either 9A405 or 9A406) don't worry.. just perform the below steps
    1: Go to Settings
    2: Go to General
    3: Go to Network
    4: Enable Cellular data (press ON)
    5: Enable Data roaming (press ON)
    IT IS NOT MUST TO ENABLE 3G ( Keep it OFF)
    Enjoy..........

    Just was talking with my aunt on Viber, suddenly I missed the screen and now I've restored my iPhone 5C by using iTunes. At the end of processing while my phone was about to start, it made a vibration like its going to start and i had a hope to see the Apple logo, but I couldn't find any sign! I still can not get access to my phone! what am I suppose to do? I searched among many sites on the internet and I found several cases as mine, they also are facing with same problem and these are all because of the new version of iOS. I need my phone back.

  • How to pass values for compound primary keys for updating the record in db.

    i have a entity bean in my ejb with two primary keys to it...eg. roleid,rolename...
    when iam retriving the record i use only one primary key ...so again to modify and update he same record which i retrived is a pbm..
    i cannot set the values for the compoundpk,,,
    but i can do the update for the bean with single primary key..
    i need to know how to pass the values/parameters for the coumpound primary key in my update method...
    thanx in advance...
    Arjun.G

    I istantiated a object for the pk class and assign the values for the primary key fields...
    Arjun.G

  • Please give  command for table import

    Hi experts,
    I know this is a very simple qusetion but i am getting confused and work is very sensitive.
    i have to import 4 table from one exported (dmp) file.
    I am importing it with DBA user , and tables data should go to BDM schema.
    please give me command.
    OS SunOS 5.9
    oracle 9.2.0.7.0
    thanks
    Message was edited by:
    user628282

    Please be aware that IGNORE=Y will lead to imported rows being appended to existing tables. If this is what you want, then use ignore. Otherwise you will have to drop the tables before importing.

Maybe you are looking for

  • How can I had an mp3 audio file to a .mov file?

    I have a .mov file that I created with Quicktime screen capture but the audio was n ot captured.  I did record the audio with an mp3 player and I would like to add that to the .mov file.  How? thanks charlie

  • CISCO ASR901 BRIDGE BETWEEN 2 INTERFACES WITH XCONNECT

    Hi All!   I'm looking for some way to make a transparent bridge between two interfaces of a Cisco router ASR901 , is there any possibility? I ask this because I have a scenario where I would use the ASR901 to the following question : POP01 (         

  • Where is the account: for conect to engine oltp from ssis

    hi For conect to sqlserver I use account and password windows: but its not work: its said: user o passord invalid, i want to know what should be this user and password my setup...

  • 0customer not present in BI

    Hi Experts We are using BI 7.0 version, before we had 3.5, which we upgraded. Now for some reason I can see 0customer in old version 3.5, but not in 7.0. There is no avtive table - KNVV in BI. I have avtivated the DS in ecc and replicated in BI, but

  • English List of languages supported in OSX (not programation languages)

    Hello from France. Excuse my bad english. Does anyone has a simple list (in english) of all the languages supported by Mavericks ? (not the programation languages, the real spoken and written languages all over the world ) i found some of them in the