Conversion puts all data in one column

conversion puts all data in one column on excel

ok i created my own function
CREATE OR REPLACE TYPE t_varchar2_tab AS TABLE OF VARCHAR2(4000);
CREATE OR REPLACE FUNCTION tab_to_string (p_varchar2_tab IN t_varchar2_tab,
p_delimiter IN VARCHAR2 DEFAULT ',') RETURN VARCHAR2 IS
l_string VARCHAR2(32767);
BEGIN
FOR i IN p_varchar2_tab.FIRST .. p_varchar2_tab.LAST LOOP
IF i != p_varchar2_tab.FIRST THEN
l_string := l_string || p_delimiter;
END IF;
l_string := l_string || p_varchar2_tab(i);
END LOOP;
RETURN l_string;
END tab_to_string;

Similar Messages

  • Problems with data merge (CS4) - puts all fields in one

    Data merge is acting very weird, I have a standard textfile of six columns exported to .csv. When I import it in InDesign it puts all fields in one place (see image) and it becomes totally useless. Has anyone had this problem and if so, how did you solve it?
    Thank you!

    It is a regular textfile (http://www.pixentral.com/show.php?picture=1k0bmos4r2l7lCtegA1CGHIcw98jrM
    ) divided into columns...
    28 apr 2009 kl. 23.00 skrev Peter Spier:
    I took a look at the image, now that it's out of the queue, and the 
    fields seem to be seaparted by semi-colons. How did you make the file?
    >
    ID recognizes comma-sparated (CSV) or tab-delimited text files.
    >
    Peter
    >

  • OAF Export button fetching data in one column - view object using union all

    Dear All,
    Export button showing data in one column from  view object,
    View object is based on mulitple queries with union all ,
    Please let me know the solution for this issue.
    Thanks
    Maheswara Raju

    Maheswara Raju,
    As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
    There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
    Cheers
    Gyan

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • How to put the data from one excel sheet in another excel sheet

    hi ,
    I want put the data from one excel sheet in another excel sheet in seq. order Eg: I have one excel sheet in which i have 3 col. Name , Sno. , Email along with data .I want to put data from this sheet to another excel sheet in the following orders of col. Sno,Name, Email .
    While loading data in another sheet , i have to perform validation like char field should n't contain numeric values and vice versa .
    Let me know on this soon ..
    regards
    Prashant

    Well, you can issue separate queries with the ordering you need from each tab in the spreadhseet. You can open an ODBC connection from a VBA macro, select a sheet, run a query, select another sheet and run another query. As for the validation, you can do this in Oracle via stored procedures or again in VBA code.

  • How to copy data from one column to other column

    hi,
    can any one tell me how to copy data of  one column to other column for some specific data
    example
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120                   
    p002       2007                   90               100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    i want to copy data of p001 and p002 from prevplansales to current plansales
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120              120     
    p002       2007                   90               100              100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    is it possible to do?
    please suggest me.
    i will assign points

    Hi,
    I think the needed techniques are already described in the documentation, e.g. in
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    or
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
    Regards,
    Gregor

  • Expose puts all windows on one screen?

    SHORT VERSION: When I have my MBP hooked up to a 2nd monitor, sometime when I invoke the "all windows" mode in Exposé, it puts all the windows one one screen (usually the larger second screen) -- meanwhile if there are any minimized windows, it will "stack" them on the second screen at full size.
    * This doesn't happen all the time. And I haven't quite figured out what conditions "cause" it.
    * If I restart, the problem goes away.
    * Mousing over a window only works correctly on the second screen (trying to hover over a window on the screen with the "minimized" windows -- those don't respond)
    Thoughts?
    -r

    You should fit 16 spaces of apps/folder icons per page. So, from your post, what is happening is that on page 1 you have 3 rows of 4 apps each then 1 row of 2 apps. On page 2 you have 1 app.
    You can easily fix this via iTunes. Connect your iPod Touch to iTunes and to the following:
    1. Touch and hold the app icon that you want to move (In this case it would be your sole icon on page2)
    2. This will put you in edit mode for apps while they will all begin to shake
    3. Grap the app with your finger and move it to the left edge of the screen
    4. This will move it to page 1 and then you can place it wherever you want
    Now you will all 15 apps on page 1.
    Axel F.

  • Need to display 2 dates in one column in Report

    Hi All,
            I have two date chars, 'Begin date'  (4/1/2007 ) & 'End date' (10/1/2011 ) in two different coulums & I need to display them in one column like 4/1/2007 - 10/1/2011, which would specify period i.e 'Begin date' to 'End date'. Can anyone please let me know how I could do this in Query designer?
    Thanks!!

    as per ur issue it seems u want tod isplay the date start and end in the header area
    this can be acheived using Text variables.
    u can create 2 text variables whose value is either user entry and whose reference char is Calday
    lets say ur user enters 2 date ,one as start date and another as end date.
    so u can create a variable A & B whose reference characteristics is 0calday
    now in query designer u select in column description where u wish to display date.
    then in description side u will see a icon
    if u click it u will be able to include text variabel in description
    now here create 2 variables x & y
    variable x
    replacement path variable
    reference char---0calday
    replacement path tab....
    variable is replaced by variable
    now select ur variable A.
    similarly create variable y
    theni n description u can include variable and put like this...
    variablex----variable y
    this should solve ur issue

  • Can Numbers put the dates (in a column) in order if I enter out of order

    I am a procrastinator and I have lots of receipts to enter.  If I enter with the dates out of order is there a way numbers can put in order for me.
    Thank you

    Robin,
    When you hover your mouse over the column Label area of an active Table, a disclosure triangle appears. Clicking the triangle gives you a menu of column actions, including Sorting the column, either ascending or descending.
    Sorting will put your dates in order. The prerequisite is that the dates you enter must be recognized as Date/Time values, not as Text. If you input your dates in a standard way for you region/language, they will normally be properly recognized. One way to test for this is to Select the Dates column and change the date format in the Cell Inspector. If you can freely change the format, for example from "1/1/15" to "January 1, 2015", the sort will be successful.
    Regards,
    Jerry

  • Download file format(different length data on one column)

    Hi all,
    i am just writing a report to download the delivery data to a file.the file have 3 columns.the length of the column data in every row varies.
    let my file structure is like
    first line of my file contains,
    delivery no(22),delivery date(8),delivery type(5)
    2nd line of the file contains,
    shipper num(48),customer PO num(20),material num(15)
    In the first column of this file contains delivery number(length-22)& shipper number(length-48).but the length of both the data will be different i.e i have to assign the length of delivery num as 22 & length of shipper num as 48.but they will appear in one column. how it will be possible.
    is there any command to make the file format like this?
    ur help is highly appreaciated.it's urgent.
    Regards
    pabitra

    whatever record you will populate(i mean it may be either delivery no or shipment no etc..)define your internal table with the highest length(in this case 48).
    as both values are CHARacters, there is no problem even if you populate Delivery no(of 10 chars) to 48 char field.
    spaces will be truncated.
    data:begin of itab,
    col1<b>(48) type c</b>,
    col2,
    col3,
    end of itab.
    *--when you are populating Delivery no:
    ITAB-COL1+0(10) = V_DELIVERYNO.
    CONDENSE ITAB-COL1+0(10) NO-GAPS.
    *--when you are populating SHIPMENT no:
    ITAB-COL1+0(48) = V_shipment.
    CONDENSE ITAB-COL1+0(48) NO-GAPS.
    i guess,there wont be any problems,if you use this logic.
    Regards
    srikanth

  • LOV Attaching all variables in one column

    hi i have LOV which suppose to select town and go and attach that town suburb and postal code in separate column,whats happening in my jsff page is when i select town it attach all 3 values in one column but when i test my view it works fine,each value is attach in its column. am in jdeveloper 11.1.1.6.0
    my LOV IS
    <ViewAttribute
        Name="City"
        PrecisionRule="true"
        EntityAttrName="City"
        EntityUsage="UamAddress"
        AliasName="CITY"
        LOVName="LOV_City">
        <Properties>
          <SchemaBasedProperties>
            <CONTROLTYPE
              Value="combo_lov"/>
          </SchemaBasedProperties>
        </Properties>
      </ViewAttribute>my jsff LOV IS
    <af:selectOneChoice value="#{bindings.City.inputValue}"
                                              label="#{bindings.City.label}"
                                              required="#{bindings.City.hints.mandatory}"
                                              shortDesc="#{bindings.City.hints.tooltip}"
                                              id="soc3" simple="true">
                            <f:selectItems value="#{bindings.City.items}" id="si3"/>
                          </af:selectOneChoice>i try to put town id as partial trigger in suburb and postal code column does not work
    Edited by: adf0994 on 2012/10/29 9:27 AM
    Edited by: adf0994 on 2012/10/29 9:31 AM

    Can you post a List Return Values (+Configuration+ tab for LOV) along with Selected part of Display Attributes (+UIHints+ tab) for your LOV ?

  • Help with lists and Numbers - how can I separate data from one column?

    I have a series of data entries that have two or three pieces of information listed in one column (it was a list copied from the Internet). My data is in this form all in one column (ie Column A):
    XXXX -- YYYY, ZZZZ
    I want to be able to easily split that data into three columns (A, B, and C) without having to go through and manually separate all of the entries? I'd ideally like to have XXXX in one column, the '--' removed, YYYY in another column, and ZZZZ in a third column, like this:
    Column A Column B Column C
    ====== ====== ======
    XXXX YYYY ZZZZ
    Is this possible? Any help is appreciated.

    BlooGoo
    Open or paste your material in your favorite texteditor. TextEdit will suffice but there are better applications. Make sure your material is consistent, especially that there are no stray characters or extra spaces studded in the text. You can do this by using the clean up routine as described below.
    1. Copy the set of characters you want to replace. In this case " -- " Note that there are spaces on each side of the dashes and you want to get rid of those.
    2. Open the *Find and Replace* dialogue:
    +Menu > Edit > Find > Find…+ (or command f)
    Paste the " -- " into the Find: field, then type a comma in the Replace: field or
    Copy and paste a tab from the document or
    Click on the Advanced button and enter a tab using the Insert… button that appears.
    3. Click *Replace All.*
    Repeat as necessary. If it doesn't seem to work, copy and paste the bits that stick, usually there is something not visibly different but different as far as the computer iust concerned.
    When you are finished save the results as a comma or tab delimited delimited .txt file and reopen it in Numbers.
    Peter

  • Transferring all data from one computer to another

    Hi,
    I have an iMac and a Macbook Pro - I would like to completely switch the data on the two computers.  In other words, I'd like to put everything that is on my macbook on the iMac, and vise versa.  I have backed both computers up using Time Machine, but I'm not sure what the best way is to do the swapover.  Any ideas?  I want to do more than just add the data from one to another, I want to completely wipe out the imac and install the macbook data on it, and completely wipe out the macbook and install the iMac data.  Any ideas?

    What I would do is to move all the apps music and other media to the new cmputer.  Make sure the computer is authorized for the iTunes account(s) and iTunes logged into the progler account. Then connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up.  Restore the iPod from that backup.

  • Concatenate all data in one row to all data in the next row

    I have been trying to do this, I'm sure simple procedure, with no luck
    Table
    A B
    1 5
    2 4
    3 3
    4 2
    5 1
    and put all the data from each row into a single cell to look like this
    Table
    C
    1:5, 2:4, 3:3, 4:2, 5:1
    I imagine I need to use some kind of recursive formula but not sure how to do that in Numbers

    hoshi,
    in C, fill with: =A&":"&B
    Very simple.
    By the way, nothing recursive will work in Numbers. An error message will be generated if the result of a particular cell depends in any way upon its own content.
    Jerry

Maybe you are looking for