Problem in viewing CSV file

I am generating CSV file from PL/SQL code. I am using UTIL_FILE for writing file.
One of the column in csv file is too big. The value is displayed in scientic notation.
Is there any way that i can modify my code to display data in Number format(Instead of scientific format)
Any help is appreciated.
Thanks in Advance
Gopinath

The problem is that the user wants to view the file
in Excel and they dont want to do any format changes
in excel sheet. They want everything to be done at
code level.Or, how about spooling formatted numbers in the csv itself, if your end users are okay with it ? For example:
1234567890123,1234567890123,1234567890123,1234567890123
"1234567890123","1234567890123","1234567890123","1234567890123"
"1,234,567,890,123","1,234,567,890,123","1,234,567,890,123","1,234,567,890,123"The first two lines show up in scientific notation, but the third line shows up as is.
pratz
Message was edited by:
pratz

Similar Messages

  • Problem in creating csv file

    I have one problem in creating csv file.
    If one column has single line value, it is coming in single cell. But if the column has no.of lines using carriage return while entering into the table,
    I am not able to create csv file properly. That one column value takes more than one cell in csv.
    For example the column "Issue" has following value:
    "Dear
    I hereby updated the Human Resources: New User Registration Form Request.
    And sending the request for your action.
    Regards
    Karthik".
    If i try to create the csv file that particular record is coming as follows:
    0608001,AEGIS USERID,SINGAPORE,Dear
    I hereby updated the Human Resources: New User Registration Form Request.
    And sending the request for your action.
    Regards
    Karthik,closed.
    If we try to load the data in table it is giving error since that one record is coming in more than one line. How can I store that value in a single line in csv file.
    Pls help.

    I have tried using chr(10) and chr(13) like this......still it is not solved.
    select REQNO ,
    '"'||replace(SUBJECT,chr(13),' ')||'"' subject,
    AREA ,
    REQUESTOR ,
    DEPT ,
    COUNTRY ,
    ASSIGN_TO ,
    to_Date(START_DT) ,
    START_TIME ,
    PRIORITY ,
    '"'||replace(issues, chr(13), ' ')||'"' issues,
    '"'||replace(SOLUTIONS,chr(13),' ')||'"' SOLUTIONS ,
    '"'||replace(REMARKS,chr(13),' ')||'"' REMARKS ,
    to_date(CLOSED_DT) ,
    CLOSED_TIME ,
    MAN_DAYS ,
    MAN_HRS ,
    CLOSED_BY ,
    STATUS from asg_log_mstr
    Pls help.

  • RoboHelp for HTML 9 - Problem with viewing .chm file on 64bit machine

    I am working with RoboHelp for HTML 9 on a 32 bit machine. Recently, we encountered problems when viewing a .chm file on a 64 bit machine. The TOC was fine, but the topics did not appear, only error message "Navigation of this web page cancelled". My compilation settings did not change since the last compilation some months ago. What happens?

    Generally, I've only ever seen the need to ensure the CHM is unblocked if it has been downloaded from the web. I could see where it could possibly occur if one moved the CHM from a network drive to a local drive, but I'm skeptical that would be required in that case.
    Cheers... Rick

  • Problem importing a CSV file with forward slashes in a column

    I have an Excel csv file of a product database (contains about 6500 products) that contains product codes with forward slahes such as 499/1, 499/3, 499/5.
    These are different sizes of a product and as such have different prices etc.
    When I import the file into Numbers these numbers appear as 499, 166 1/3, and 99 4/5 respectively.
    What seems to be happening is that Numbers is interpreting the forward slash (/) as a divide by command and subsequently performing a calculation on that number on import and hence totally changing the value of the cell so that it is impossible to look up the price related to a product as the product code no longer exists.
    Excel can import these files with no problems, why can't Numbers treat each cell as text and leave it alone on import.
    Is there any way round this or do I have to revert to using Excel for the import of csv files.
    Thanks
    Steve

    I know I'm a bit(!) late (a year) coming to this party, but there is a simple solution, that worked for me, enclose the field in double quotes, and add a single quote before the number:
    Instead of
    499/1,"Super Widget 3",12.34
    do
    "'499/1","Super Widget 3",12.34
    In fact the single (unclosed) quote without double-quotes works as well:
    '499/1,"Super Widget 3",12.34
    I've always found it better to enclose strings with double quotes. This works on loading the file into Mac Numbers and should work with Excel too if that helps. It opens with OpenOffice 4 on the Mac too - if you select "comma" in the "Separated by" checkbox
    I can't remember where I picked this info up....
    Hope this helps someone, albeit late.
    Andy

  • Import and view CSV Files into OTM

    Hi All,
    Can you please help me in importing CSV files into Oracle Test Manager and to view the imported files in OTM.

    Hi,
    I have just googled and find the link :)
    http://oracleats.com/blog/?p=785

  • Problem when uploading CSV File

    Hi, i'm testing some changes i made to an infoprovider and something strange is happening to me (as usual) I have a CSV file that is uploaded into BI from my PC and I tested this file with 100 records, later i deleted 98 records so i can test the file with fewer records in order to analyze the formulas in BEx with some very specific data. Now here is the strange part: even though i modified the file and left only 2 record in it, when I run the DTP the system is still uploading 100 records!?! How can that be possible. I checked everything, the datasource and the infopackage are both pointing to the same file (the one which has two records) and there is no other file in the entire hard drive that has 100 records and/or the same name/structure that the file i'm uploading into BI. I just can't figure out why the DTP is uploading more records that I have in the CSV file!?. Any ideas??
    Another thing: I'm having problem with 0calmonth, tried everything. I put the calmonth in the CSV file in both formats MMYYYY (092010) and YYYYMM (202009) but I still get error when running the DTP. I have activated/deactivated the conversion routine in the transformation and in the datasource, I change the field length in datasource and tried any possible combination of these changes and I still can't make it work. I searched here and read all the post related to this issue but i still can't figure out how to properly upload information into 0calmonth.
    Regards, Mauro

    pls check the data in PSA.... you may be loading only 2 records..
    Also possible that the DTP is set to load FULL data.... so its loading the entire data from PSA (old + new)
    the calmonth format should be YYYYMM... what is the error message u r getting... you can always check the PSA and see whats the format coming there

  • Problem with Dreamweaver & csv file!!!!

    Working on website...
    www.banners4churches.com
    Website has special pricing matrix...
    http://www.banners4churches.com/current/banners/order_custombanners.php
    Excel .xml file is run through Linux Fedora 10 wKDE and cli.sh to create .csv file for Dreamweaver.  The .xml file was updated and the new .csv file was inserted back into the root folder for DW.  Was working properly before changes, but now it shows error message "call." 
    Been working on this problem for days!!!!  Any help is greatly appreciated.  Thank you.
    Mike

    tiggercald wrote:
     Been working on this problem for days!!!!  Any help is greatly appreciated.  Thank you.
    What is the problem? The pricing matrix at the URL you provided is working. If it's something not working on your local system, nobody can help unless they see the code you're working with. In any case, it sounds as though there's something wrong with the CSV file, not with Dreamweaver.

  • Problem when opening CSV files after update

    Hello
    I have updated a Mac to OS 10.6
    Before the update, when clicking on a CSV file (bank statements) the file would open in Microsoft Excel and display all the fields in their own columns.
    Afer the update, all the fields are contained in one column. It looks like excel is not seeing the commas ? Previewing the CSV file in numbers works correctly though.
    How can I resolve this?
    Secondly, the CSV file has numbers (deposits) listed as +0000000023.99 for example. Before the update, that transaction would have showed as 23.99 in its column in excel - now it shows it as +0000000023.99.
    Any assistance would be greatly appreciated.

    This looks like an Excel issue. You didn't say which Excel version you're using. Try posting your question on Microsoft's Mactopia Office forum, but include the version and update number in your inquiry. I can tell you though that in the current Excel 2008 version, I open up csv files all the time without any problem at all.

  • Problem in getting .csv file as output

    Hi All,
    I am using ws_download function module to get .csv file as output . i am getting space between output values.But i want to get comma instead of space.
    i am working on 4.6b version but in this version there no write filed separator field in gui_download function module.
    Please suggest me  the follow up
    Regards
    Sudhakar.

    use field-symbol and do sth like this
    data str type string.
    loop at itab.
    do.
    assign component sy-index of table itab to <F>.
    concatenate str  <f> ';' into str.
    enddo.
    endloop.
    hope taht helps
    Andreas

  • Problem in reading csv file in servlet

    Hi everyone,
    I m getting an ClassCastExeption while importing a .csv file to databse...
    It works fine in case of .xls...
    I m using jxl from Jakarta...and the code is as follows...
    Thanks in advance..
    FileItemFactory factory1 = new DiskFileItemFactory();
    ServletFileUpload upload1 = new ServletFileUpload(factory1);
    items1 = upload1.parseRequest(request);
    Iterator iter = items1.iterator();
    while (iter.hasNext()) {
                                  FileItem item = (FileItem) iter.next();
                                  InputStream uploadedStream = item.getInputStream();
    importCSV(uploadedStream);
    and in the import method.....
    Workbook w;
    w = Workbook.getWorkbook((FileInputStream)is);
    In the above line i m getting ClassCastException...
    Please help..

    Thanks gimbal2 ..
    w = Workbook.getWorkbook(is); throws the FileNotFoundException
    I solved it by tokenizing the inputstream on ','(comma) and then getting the tokens for each column in the database....

  • Problems with viewing RAW files and cannot update to ACR 5.7

    Hi
    I purchased a canon 7D today, then went to take some pictures and came home to find my RAW files are not readable by Bridge or Photoshop. I have done some research and it seems that the solution would be to update. I did this. However, two of my five updates failed to install, one of which is ACR 5.7. I then looked into this and have found the best option is to manual install, but this is confusing me as the directories is says to use do not exist on my mac. I don't know what to do, can anyone help? I just want to be able to view my files in Bridge and edit in ACR and photoshop!!!!!
    Thanks.

    If you download the 5.7 camera raw update from the following link,
    the installation should be automated:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4682
    MTSTUNER

  • Problem uploading multibyte CSV file

    I apologize, this topic has been addressed several times, but I still can't find the solution.
    I have multibyte CSV files (extract from BI) : Excel says "Unicode txt" and when I save them from Excel in "Text CSV", they get half the size on the disk.
    here is the piece of code where the uploaded file get converted from blob to clob then to varchar2 (CSV Util from Oleg.Lihvoinen http://dbswh.webhop.net/dbswh/f?p=BLOG:READ:0::::ARTICLE:11000346061523)
    SELECT blob_content
    INTO v_blob_data
    FROM wwv_flow_files
    WHERE NAME = p_file_name;
    v_position := 1;
    blob_csid := 873 ;
    DBMS_LOB.createtemporary (lob_loc => v_clob_data,
    CACHE => TRUE,
    dur => DBMS_LOB.SESSION
    DBMS_LOB.converttoclob (v_clob_data,
    v_blob_data,
    amount,
    dest_offset,
    src_offset,
    blob_csid,
    lang_ctx,
    warning
    v_clob_len := DBMS_LOB.getlength (v_clob_data);
    IF v_clob_len = 0 THEN
    RETURN;
    END IF;
    WHILE (v_position <= v_clob_len + 1)
    LOOP
    v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    I have tried different values for "blob_csid := 873 ;" (and by the way, the list of possible values for this code is very difficult to find : I know, there is a function CS_name to CS_ID but a list would be great), but without any visible effect.
    If I use the Apex CSV uploader app, the result is the same than with this code.
    Here is an example :
    �O�R�A�C�L�E�
    instead of :
    ORACLE
    How I can have these files imported whithout an Excel conversion ?
    Thanks.

    Hum, looks like the error is thrown before the execution, during the sort of prepare/precompile of the package procedure, and it said that v_line := v_line || v_char is too small string buffer.
    I am a bit surprised.
    Anyone on this ????? I am doing answers myself, it will not help me a lot :)

  • I am having a problem creating a CSV file

    I have created CSV files and imported them into Mac's contact book before. For some reason this time its not allowing me to import them because its giving me this message: TEXT FILE IMPORT FAILURE "The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file."
    The text when I copy paste it even comes out deliniated and everything.
    <Emails Edited By Host>

    Hi,
    You need to quote your path.
    Import-Csv 'C:\Scripts\PowerShell Scripts\newusers.csv'
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Problems with a .csv file in an AP conversion.

    Hi,
    I'm trying to upgrade an Ap1240AG, from stand alone to LWAPP.
    The question is … in the process of upgrading we have to create a .csv file to put some information in the WLC to manually associate the AP (now an LWAPP AP).
    That .csv file has the mac address of the AP, their certification type, and public key hash values.
    Who can I get this .csv file?
    Thanks in advance,
    Rui Capão

    Hi Rui,
    The .csv is generated when running the Upgrade Tool (check the first doc linked below) :)
    Upgrading Autonomous Cisco Aironet Access Points to Lightweight Mode
    http://www.cisco.com/en/US/docs/wireless/access_point/conversion/lwapp/upgrade/guide/lwapnote.html#wp176272
    LWAPP Upgrade Tool Troubleshoot Tips
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a008072d9a1.shtml#prob
    Hope this helps!
    Rob

  • Adobe reader problem on viewing PDF file created by crystal report

    I have a VB6 application to export the PDF file by using crystal report 9. However, when I viewed the PDF file under Adobe reader 8, I have a following message when I hit the page down key.
    "An error exists on this page. Acrobat may not display the page correctly.
    Please contact the person who created the PDF document to correct the problem."
    After hit okay, this message will be gone and I can see the PDF file without problem. However, I don't have this issue when using Adobe reader 5 or 6 version.
    If I crystal report 11 version to export the PDF, everything works fine also but our production machine can only use crystal report version 9, not 11.
    Anyone have idea?? Thx!

    Sounds as if there is a bug in the older version of Crystal reports.
    If you are prevented from installing fixes for bugs, you may well be
    stuck with the effect of the bug.
    Aandi Inston

Maybe you are looking for

  • One server certificate for one application? not for whole WebServer

    Hello, I am using SSL for the server- and clieint authtication. It works fine. But this authtication works for all applcations in this Webserver. How can I make it only for one application available? or one server certifiate for a certain application

  • Check number skipped

    Hi Everyone, When we run F110 payment program. The system will print all the checks included in the  payment run but skipping a number and marking that number as void.i.e: If system prints check no.300156, it skips the 300157 number and marking this

  • How the SDK handles unicode

    I spent several painful hours learning the following about how the SDK handles unicode characters -- perhaps I've missed where this is documented?  Here's what I learned: - Lua strings are sequences of 8-bit characters (bytes). - A unicode ZString is

  • Can the folder C:\Windows\Cache\Adobe Reader 6 and the files it contains simpley be deleted?

    My daughter is running Adobe Reader 9.4.5 and Adobe Flash Player 10 Active X on a Dell Dimension 4400 system with Windows XP Home Edition version 2002 Service Pack 3. During a full system backup using Seagate DiskWizard version 11.0.8326 each time fo

  • IPhoto deletes pictures when shared

    Not that Apple will do anything about this problem that has been going on since iPhoto got the major update, but in shared mode, we imported loads of photos of our beautiful 20 month old son and newborn daughter. And now they are permanently gone. Va