Coil a CSV without scientific notation?

It gives me a headache! I can't wrap csv files, where the length of the number field is greater than 11 digits. For example 1.23832E + 11 should be 123831961495

Is there something that can be changed in the below, which will prevent the scientific notation?

COLUMN dcol new_value mydate noprint

ALTER session set nls_date_format = "dd/mm/yyyy hh24:mi:ss";

column normalised_event_id format '99999999999999999';

column charge_id format '99999999999999999';

SELECT to_char (sysdate + 1, 'YYYYMMDD') double dcol;

coil \\three\departments\rabillsourcecode\RA_Dropzone\Data_Cap_Usage_ & mydate... CSV;

set linesize 10000;

set pagesize 0;

colsep, value;

Set trimout

Set trimspool

fixed term

Set numw 14;

NEWPAGE THE VALUE NONE;

Thanks for any help you can provide!

3012073 wrote:

I'm just open in Excel itself, the problem is that when you import the csv file into Access, it pulls in the format of scientific notation and not the full value

This is the point people are trying to do.  That's why Roger said to open the csv file in a TEXT Editor.  Excel is not a text editor.  Access is not a text editor.

Your csv file is nothing more than a plain text file.  Open in Notepad and you will see exactly what was written about everything that created the file.  Any difference between that and what you see in Excel or Access, or anything else is the result of the way in which these programs attempt to interpret the file and is beyond the control of Oracle.  MS products are (in) famous for trying to be smarter than the user and the interpretation of entry of how Bill thinks it should be rather than what you want.

Tags: Database

Similar Questions

  • How to convert double to String without scientific notation.

    Hello

    I'm tring to convert a double 24,000,000.00 in string. But I got a string "2.4E7".

    Someone knows how can I avoid this problem of scientific notation?

    Thank you

    Have you tried to cast to an int?  something like:

    double d = 24000000.0;

    int i = (int) d;

    String s = "" + i; "

    Then just add the rest of your chain to get precision you would like...

    double rest = d & i;

    rest = rest * 100;

    s += "." + (int) remains;

    You would lose little accuracy due to rounding problems, but you can use the functions of rounding in the api to get a closer answer.

  • How to write the trillion or a quadrillion in scientific notation

    Hi all

    So basically my question is how can I write 5 Billiards (or whatever the numbers as millions or billions or trillions) in scientific notation on my iPhone or the keyboard. Just like below.


    5 x 1015


    I want to type without using the copy paste.

    Thank you for your time.

    Don't know way in a basic text page. You can do this in the application of the numbers, but this isn't what you're asking. The closest I can get is 5x10E15.

  • How let labview to check the string is in Scientific Notation.

    Hey all,.

    I want to labview to convert a worksheet string in a table. It's easy using the tool 'chain of worksheet to the table '. The only problem I have is that I get the string from a RS232 device and the critical moment arrives.

    Example:

    If I read the data from the buffer it gives me:

    1.50337800E + 00 + 1.70316300E + 00 for both channels, it is converted and accepted

    If there is a slight delay, I get:

    + 1.50337800E + 00 + 1.70316

    It is also accepted because + 1.70316 is also recognized as a number.

    How can program labview to check each number he reads is according to Scientific Notation?

    Thank you

    This regex seems to work for me, for all cases, I've tried:

    [+/-]\d+\.\d+[Ee][+/-]\d+

    Note that it is very restrictive and only follows the shape of ±n.nnnE±mm

  • Remove the scientific notation in report

    I am calculating a number and put it in a box of comments on a report. It works very well, but one of the numbers has decided to display in scientific notation (1.52666667e - 3). The problem is that the comment box is not large enough to display scientific notation and gives no indication of more fit in the box. Instead, I see 1.52666 indication of the exhibitor. I had many prefer voir.001527 but I don't want to force a format of STR with "d.dddddd" because most of the numbers do not need this level of precision and I'd probably run into errors of numbers for example 12345 which does not fit in the 6 digit precision with forced comment box. If I can force it to scientific precision, it will probably be fine.

    BTW: is there a certain number range where scientific notation is the default value? If I had known this range I could then force the format with the STR function to display as I want. for example IF x >-001 and x<.001 then="">

    Or the other method would probably work for me.

    Thank you

    James

    Okay - I see also tiara auto repeat to scientific notation decimal formatting. I guess what you could do is to check the number of decimal places, the value has and if it exceeds a certain number, format him with d.ddd.

    Yes, something along the lines of: @@IIF (Len (valueToCheck)<10, valuetocheck,="" str(valuetocheck,="">

  • Why the number is displayed in scientific notation

    I tried to add two numbers and got a result displayed in scientific notation.

    Then I used the ' DecimalFormat() ' function and the result is false.

    How can display the correct result. Help, please

    Please see the code I used

    < cfset N1= 1 >

    < cfset N2= 9999999999999899999999 >

    < cfset RESULT = N1 + N2 >

    < cfoutput >

    #RESULT #.

    <br />

    #decimalformat (RESULT).

    < / cfoutput >

    result:

    1E + 022
    92,233,720,368,547,760.00

    Thanks in advance



    #result #.

  • output of the coil in .csv file - of the problems with the display of data

    Hello

    You will need to provide the result of a select query that contains approximately 80000 registration in a .csv file. A procedure is written for the select query and the procedure is called in the script of the coil. But few of the columns have the decimal point in values. For example, there is a personal_name column in the select query that says the name as "James, Ed. Then the output in different columns. Therefore, the data is being shifted to the right for the remaining columns.
    Some could help solve this problem. I mainly used a procedure as the select query is about three pages, and so you want the script to look clear.

    Script is,

    AUTOPRINT activated;
    Set the title.
    Set TRIMSPOOL ON;
    the value of colsep «,»;
    set linesize 1000;
    set PAGESIZE 80000;
    variable main_cursor refcursor;
    escape from the value.
    coil C:\documents\querys\personal_info.csv
    EXEC proc_personal_info(:main_cursor);
    spool off;

    Hello

    set PAGESIZE 80000 ;
    

    is not valid, and it will print header as all the 14 ranks of default.
    You can avoid printing the header in this way:

    set AUTOPRINT ON ;
    set heading ON;
    set TRIMSPOOL ON ;
    set colsep ',' ;
    set linesize 1000 ;
    set PAGESIZE 0 ;
    set escape /
    set feedback off
    spool c:\temp\empspool.csv
      SELECT '"'||ename||'"', '"'||job||'"'
      FROM emp;
    spool off
    

    The output will look like this in this case

    "SMITH"     ,"CLERK"
    "ALLEN"     ,"SALESMAN"
    "WARD"      ,"SALESMAN"
    "JONES"     ,"MANAGER"
    "MARTIN"    ,"SALESMAN"
    "BLAKE"     ,"MANAGER"
    "CLARK"     ,"MANAGER"
    "SCOTT"     ,"ANALYST"
    "KING"      ,"PRESIDENT"
    "TURNER"    ,"SALESMAN"
    "ADAMS"     ,"CLERK"
    "JAMES"     ,"CLERK"
    "FORD"      ,"ANALYST"
    "MILLER"    ,"CLERK"
    

    Alternatively, you can consider creating a single column by concatenating the columns in this way:

    spool c:\temp\empspool.csv
      SELECT '"'||ename||'","'||job||'"' 
    

    In this case the output will look like without spaces between the columns:

    "SMITH","CLERK"
    "ALLEN","SALESMAN"
    "WARD","SALESMAN"
    "JONES","MANAGER"
    "MARTIN","SALESMAN"
    "BLAKE","MANAGER"
    "CLARK","MANAGER"
    "SCOTT","ANALYST"
    "KING","PRESIDENT"
    "TURNER","SALESMAN"
    "ADAMS","CLERK"
    "JAMES","CLERK"
    "FORD","ANALYST"
    "MILLER","CLERK"
    

    Kind regards.
    Al

    Published by: Alberto Faenza may 2, 2013 17:48

  • Problem number (scientific notation) string vs

    Hi all

    This has been driving me crazy now for what feels like eternity. To illustrate my problem, I have associated my code as much as possible for only the parts needed. Please, if anyone can help, I would be very grateful. (I will not be able to graduate without completing this nightmare project, and it's the only part that I'm stuck. "It is essential to the function of the program.)

    Thank you!

    The program (this part of it anyway):

    The program should import the contents of an xml file and place them in a datagrid control. The DataGrid contains two columns: membership and evaluated.

    The problem:

    Evaluates seems to be automatically converted into a number... and the WRONG number to that! It is CRUTIAL that this value is imported as a string or the correct number. In addition, it is only evil sometimes. (See 1G2I vs NP_126160).

    Table of problem: Evaluated in Flex must be the same as rated in XML

    Membership Rated in Flex Rated in XML
    NP_5794483.999999999999999e - 92

    4th-92

    NP_1435483.999999999999988e - 84

    4th-84

    1G2I1.999999999999997e - 81

    2nd-81

    NP_1261601E-80

    1E-80

    YP_0029594358th-80

    8th-80

    ZP_048895922.999999999999994e - 79

    3rd-79

    ZP_048777842.999999999999998e - 77

    3rd-77

    YP_1836974.999999999999999e - 76

    5th-76

    YP_00023076702.999999999999994e - 75

    3rd-75

    Main.MXML

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:Application ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " = xmlns:s 'library://ns.adobe.com/flex/spark"" "

    " = xmlns:mx 'library://ns.adobe.com/flex/mx"" "

    "xmlns:views ="views.*"

    width ="1400" height ="900"

    preinitialize = "hitsResponder.token = service.send ()"> "

    < fx:Declarations >

    " .. s:HTTPService id ="service"" "

    " url = 'data / TestCase.xml"" "

    showBusyCursor ="true" / > "

    " .. s:CallResponder id ="hitsResponder"" "

    result = "service_resultHandler (event)" "

    fault = "service_faultHandler (event)"/ > "

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA [ ]]

    / * Import * /.

    import mx.utils.ArrayUtil;

    import mx.collections.ArrayCollection;

    import mx.rpc.events.FaultEvent;

    import mx.rpc.events.ResultEvent;

    import mx.controls.Alert;

    / * Variables * /.

    [Bindable]

    protected var scores: ArrayCollection collection;

    / * Managers * /

    protected function service_faultHandler(event:FaultEvent):void

    {

    Alert.show (event.fault.faultString, event.fault.faultCode);

    }

    protected function service_resultHandler(event:ResultEvent):void

    {

    scores = event.result.hits.hit; visits //push in the collection of table

    }

    ]]>

    < / fx:Script >

    "" < s:Panel id = "dataPanel" title ="results" width = "400" height ="470">

    < s:layout >

    "" < s:VerticalLayout paddingBottom = "10" paddingLeft ="10" paddingRight = "10" paddingTop ="10" / >

    < / s:layout >

    <! - results grid - >

    {" < views: TestGrid dataProvider =" {}scores}"/ > "

    <!---->

    < / s:Panel >

    < / s:Application >

    views:TestGrid.mxml

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:DataGrid

    xmlns:fx = » http://ns.Adobe.com/MXML/2009"" "

    " = xmlns:s 'library://ns.adobe.com/flex/spark"" "

    " = xmlns:mx 'library://ns.adobe.com/flex/mx"" "

    width ="100%" height ="100%">

    < mx:columns >

    "" < mx:DataGridColumn dataField = "membership" headerText ="membership" sortable = "true"/ > "

    "" < mx:DataGridColumn dataField = "rated" headerText ="rated" sortable = "true" "visible ="true"/ >

    < / mx:columns >

    < / mx:DataGrid >

    TestCase.xml

    < hits >

    < hit >

    < membership > NP_579448 < / membership >

    4th-92 of < estimated > < / rated >

    < / hit >

    < hit >

    < membership > NP_143548 < / membership >

    < estimated > 4th-84 < / rated >

    < / hit >

    < hit >

    1G2I < membership > < / membership >

    2nd-81 of < estimated > < / rated >

    < / hit >

    < hit >

    < membership > NP_126160 < / membership >

    1-80 of < estimated > < / rated >

    < / hit >

    < hit >

    < membership > YP_002959435 < / membership >

    8th-80 of < estimated > < / rated >

    < / hit >

    < hit >

    < membership > ZP_04880592 < / membership >

    < estimated > 3rd-79 < / rated >

    < / hit >

    < hit >

    < membership > ZP_04877784 < / membership >

    < estimated > 3rd-77 < / rated >

    < / hit >

    < hit >

    < membership > YP_183697 < / membership >

    5th-76 of < estimated > < / rated >

    < / hit >

    < hit >

    < membership > YP_002307670 < / membership >

    3rd-75 of < estimated > < / rated >

    < / hit >

    < / hits >

    This looks like a bug in the conversion of a string to a number. It may be a known bug, but you can drop if you want.

    In the meantime, I can suggest a work around. In your HTTPService, set the resultFormat 'XML '. This will prevent the automatic analysis of the string to a number. View your Datagrid with string values. Then while sorting, use a custom comparison function.

  • External table. How to load numbers (scientific and decimal notation format)

    Hi all, I need to load within a records in the external table that contain 7 fields. The last field is called AMOUNT and he has represented in some documents in decimal, in other documents in the format of scientific, notation for example, below:

    CY001_STATU; 2009; Jan; 11220020GR;' 03900; CYZ900; -9, 99999999839929e-03
    CY001_STATU; 2009; Jan; 11200100;' 60800; CYZ900; 41380,77

    The external table script is the following:

    CREATE TABLE HYP_DATA
    (
    COUNTRY VARCHAR2 (50 BYTE)
    YEAR VARCHAR2 (20 BYTE).
    PERIOD VARCHAR2 (20 BYTE).
    ACCOUNT VARCHAR2 (50 BYTE),
    VARCHAR2 (20 BYTE) DEPT,
    ACTIVITY_LOC VARCHAR2 (20 BYTE),
    AMOUNT VARCHAR2 (50 BYTE)
    )
    EXTERNAL ORGANIZATION
    (TYPE ORACLE_LOADER
    THE DEFAULT DIRECTORY HYP_DATA_DIR
    ACCESS SETTINGS
    (RECORDS DELIMITED BY NEWLINE
    BADFILE ' HYP_BAD_DIR': ' HYP_LOAD.bad '.
    DISCARDFILE ' HYP_DISCARD_DIR': ' HYP_LOAD.dsc '.
    LOGFILE ' HYP_LOG_DIR': ' HYP_LOAD.log '.
    SKIP 0
    FIELDS TERMINATED BY '; '.
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL FIELDS ARE NULL
    (
    Tank of 'COUNTRY ', he said.
    'YEAR' tank,.
    Chariot of the "PERIOD."
    Char 'ACCOUNT ',.
    'DEPT' tank,
    "ACTIVITY_LOC," tank
    Char 'AMOUNT. '
    )
    )
    LOCATION (HYP_DATA_DIR: 'Total.txt')
    )
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;

    If, for the field AMOUNT, I use VARCHAR (see above) data type, the table is loaded but I have some records rejected, and all these folders contain the AMOUNT in the field with scientific as notation:

    CY001_STATU; 2009; Jan; 11220020GR;' 03900; CYZ900; -9, 99999999839929e-03
    CY001_STATU; 2009; Feb; 11220020GR;' 03900; CYZ900; -9, 99999999839929e-03
    CY001_STATU; 2009; Mar; 11220020GR;' 03900; CYZ900; -9, 99999999839929e-03
    CY001_STATU; 2009; Dec; 11220020GR;' 03900; CYZ900; -9, 99999999839929e-03

    All records with a decimal NUMBER are loaded correctly.

    So my problem is that I NEED to load all the records (with the comma and the scientific notation format) together (without the rejected records), but I do not know what data type should I use for the field AMOUNT...

    Someone has an idea?
    Any help would be appreciated

    Thanks in advance

    Alex

    @OP,
    What version of Oracle are you using?
    Just Cut the dough of your script and example woked FINE for me.

    However my equation is... An external table will all LOAD data or not at all. How did you validate/conclude that...
    I have a few records rejected, and all these folders contain the last field AMOUNT with scientific notation

    select * from v$version where rownum <2;
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    
    select * from mydata;
    CY001_STATU     2009     Jan     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Feb     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Jan     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Jan     11200100     '60800     CYZ900     41380,77
    CY001_STATU     2009     Mar     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Dec     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Jan     11220020GR     '03900     CYZ900     -9,99999999839929e-03
    CY001_STATU     2009     Jan     11200100     '60800     CYZ900     41380,77
    

    Table MYDATA script is...

    drop table mydata;
    CREATE TABLE mydata
    (
    COUNTRY VARCHAR2(50 BYTE),
    YEAR VARCHAR2(20 BYTE),
    PERIOD VARCHAR2(20 BYTE),
    ACCOUNT VARCHAR2(50 BYTE),
    DEPT VARCHAR2(20 BYTE),
    ACTIVITY_LOC VARCHAR2(20 BYTE),
    AMOUNT VARCHAR2(50 BYTE)
    )
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY IN_DIR
    ACCESS PARAMETERS
    ( RECORDS DELIMITED BY NEWLINE
    BADFILE 'IN_DIR':'HYP_LOAD.bad'
    DISCARDFILE 'IN_DIR':'HYP_LOAD.dsc'
    LOGFILE 'IN_DIR':'HYP_LOAD.log'
    SKIP 0
    FIELDS TERMINATED BY ";"
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    (
    "COUNTRY" Char,
    "YEAR" Char,
    "PERIOD" Char,
    "ACCOUNT" Char,
    "DEPT" Char,
    "ACTIVITY_LOC" Char,
    "AMOUNT" Char
    )
    )
    LOCATION (IN_DIR:'total.txt')
    )
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    

    VR,
    Sudhakar B.

  • generation of the CSV file without display

    Hello
    I have a scenario as to create a CSV as the output of a query. I have two clarificaitions
    I will be rolled up the output as
    coil output_file.csv;
    Select * from EMP;
    I am running the same thro a sealant in linux server.
    I want the output of the query in the file put on hold, but the outptu should not be selected for me, because the nuber of records is quite more (about 2 million records) should not scrool in my guest puttty... I want e mark to run in silent mode. Is it possible to do so. Help on the same

    Thank you
    Ramesh.R

    Ramesh_R wrote:
    Hello
    I have a scenario as to create a CSV as the output of a query. I have two clarificaitions
    I will be rolled up the output as

    coil output_file.csv;
    Select * from emp;

    I am running the same thro a sealant in linux server.
    I want the output of the query in the file put on hold, but the outptu should not be selected for me, because the nuber of records is quite more (about 2 million records) should not scrool in my guest puttty... I want e mark to run in silent mode. Is it possible to do so. Help on the same

    You can run sqlplus in silent mode. To do this, you must write all your commands in a file and call this file when you call sqlplus.

    The syntax would look like this

    sqlplus -s user/pwd@database commandscript.sql
    

    s is the option for "silent".

    In addition your script (commandscript.sql) must include some parameters to allow the correct formatting of your spoolfile.

    Here are the commands that I find most useful

    SET ECHO OFF
    SET FEEDBACK OFF
    SET TERMOUT OFF
    SET TRIMSPOOL ON
    SET VERIFY OFF
    SET PAGESIZE 0
    

    You can take a look at the documentation to find out what they are doing and if they are useful to you.

    SET summary System Variable: http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/ch_twelve040.htm#BACGAJIC

  • list box given to the .csv file using write on the worksheet File.vi

    Hi, I use the write on the worksheet File.vi to write data multicolumn ListBox to the .csv file. If I do record from Excel, the pop-up window shows as an attachment. And data listbox are too different.  I want the data displayed in the first line not the second row (third photo).

    Thank you for your help.

    Before making your Save As in Excel, change the cell formatting of number. This should avoid the scientific notation conversion before you re-register.

    Or just use Notepad to display the file instead of Excel.

  • determine a decimal in a set of data without looking at data

    Hello Experts;

    I have a set of data similar to below

    create table test
    (
         id number(30),
         info varchar2(1000)
    );
    
    insert into test values (1, '9.4');
    insert into test values (2, '10.350');
    insert into test values (3, '6.987');
    

    I need a way to determine without looking at the data in the column contains decimal values. In this case, it is the column of information even if it is created as a varchar2. Any help is appreciated. Thank you

    If you are really interested in decimal numbers, which are a column that contains 10 would not be taken into account, so I'd be inclined to use something like Frank's suggestion except instead of its predicate WHERE LTRIM (str, "0123456789".)  IS NULL I would use something more like where Ltrim (Rtrim (str, "0123456789"), "0123456789") = "."

    As a proof of concept:

    SQL > test like)

    2 Select 1 id, info ' 9.4 ' Union double all the»

    3 select 2, ' 10,350 ' of any double union. "

    4 Select 3, '6.987 ' of any union double. "

    5. Select option 4, 'Abc.def' from dual union all

    (6 select 4, ' 100.20.30.777' from dual)

    7 select id, info,.

    8-case when ltrim (rtrim (information, "0123456789"), "0123456789") = "."

    9. can "only decimal places.

    10 other "Non-decimal" end status

    11 of the trial;

    ID INFO STATUS

    ---------- ------------- ------------

    1-9.4 only decimal

    2 10,350 only decimal places

    3 6,987 only decimals

    Decimals of Abc.def No. 4

    4 100.20.30.777 no decimal

    It still lacks signed numbers and scientific notation, but would not identify an IP address in decimal form.

    John

  • 'Save as csv' sets of quotation marks around the entire line

    Our customer relationships:

    Portal of data-> right click on-> save under-> Select 'Data Type': "Textfile - Auto détection (*.csv)"-> Save.

    Result of savings:

    "TIME V V_ABS.
    "63.0235776 28.6153372301571 0.105263157894737".
    "63.0235936 28.6156034598028 0.105264137235745".

    The values of strings with the same index (a header) are so composed of a single cell due to quotation marks around.

    By me is not get, but by a customer.

    Client standard configuration of region/German language Windows 7.

    No idea, how a customer can save as csv without quotes around the line?

    Sasha

    Checked the file format during the recording of the data of Test File (CSV) Portal.

    When I checked the file in Ultraedit (so that can see the hexadecimal values) the file doesn't have quotation marks around the values.

    But if I open the file in Excel and then saved. Excel has put the quotes like that was indicated in your message.

    It seems that the customer opens the file in Excel.

    Paul

  • USING ALT CODES ON A LAPTOP WITHOUT NUM LOCK

    LAPTOP HAS NO NUM LOCK INORDER TO USE ALT CODES. USING THE FUNCTION KEY WITH A NUMBER OF KEYS AND THE FUNCTION ALT DOES NOT WORK ON MY GATEWAY LAPTOP. IS THERE ANOTHER WAY TO ADD ACCENTS OF SPANISH WORDS?

    Hi Stephen finkin,

    Almost all the words of the Spanish accent require the combination of keys or the keys ALT.

    However since your laptop doesn't have this option, you can use the character map.
    You can use character map to insert special characters into your documents. Special characters are characters that can't be found on your keyboard. These characters include advanced mathematical operators, scientific notation, currency symbols, and characters from other languages.

    Special characters are characters that can't be found on your keyboard. These can include symbols, mathematics and special characters characters of other languages. You can insert special characters into your documents using the character map.

    1. open the card of characters by clicking on the Start button, all programs, Accessories, clicking System Tools, and then click character map.
    2. in the list font , type or select the font you want to use.
    3. click on the special character to insert into the document.
    4. click Selectand then click copy.
    5. open your document and position the cursor where you want the special character to appear.
    6. on the Edit menu, click Paste.

    Insert a special character into a document (ASCII codes)
    http://Windows.Microsoft.com/en-us/Windows-Vista/insert-a-special-character-into-a-document-ASCII-codes
    Using special characters (character map): frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/using-special-characters-character-map-frequently-asked-questions

    Also see the Microsoft KB article below.
    How to use the United International keyboard layout in Windows 7, Windows Vista and Windows XP
    http://support.Microsoft.com/kb/306560

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Csv output SQLCL differs from output csv SQLPLUS

    Hello

    I try to replace my script sqlplus generating a csv file.

    with a new one generated by sqlcl because sqlcl seem to handle it "natively".

    However, I have several problems, it's not so easy... (it is not possible, in fact, as a replacement for sqlplus by sqlcl to generate a csv file)

    There are several differences with the release made with my script in sqlplus. Let me explain

    NB: Please note I'm french therefore:

    * default csv separator is; (but I could accept this separator is)

    * decimal separator is ",".

    Script from SQLplus

    trigger the echo

    Set feedback off

    fixed term off

    set point

    Go head

    the Embedded value on

    set pagesize 0

    break off Set

    NEWP NONE Set

    set SPACE 0

    TAB SET OFF

    recsep off Set

    left the underline

    COLUMN of resource_type FORMAT A10 COLUMN TYPEE

    ALTER session set nls_date_format = "dd/mm/yyyy";

    ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ",";

    set LINESIZE 30000

    Set trimspool on

    Coil test.csv

    SELECT "'sysdate';'" COL1 "; "" COL2 "; "" LENGTH "' double.

    SELECT

    '"' || SYSDATE | « « ; » »

    '"' || trunc (sysdate) | « « ; » »

    || To_char (sysdate, ' DD/MM/YYYY HH24:MI:SS'). « « ; » »

    || RM. LENGTH | '"'

    Of

    TABLE RM

    WHERE

    RM. CODE = "ABCD";

    spool off

    output

    SQLCL script

    trigger the echo

    Set feedback off

    fixed term off

    set point

    break off Set

    Set trimspool on

    Set sqlformat csv

    Coil test2.csv

    SELECT

    SYSDATE,

    trunc (sysdate),

    To_char (sysdate, ' DD/MM/YYYY HH24:MI:SS'),

    RM. LENGTH

    Of

    TABLE RM

    WHERE

    RM. COL = 'ABCD '.

    ;

    spool off

    output

    SQLplus output CSV (and the result is correct)

    "sysdate"; "' COL1 '; "" COL2 "; "" LENGTH ".

    "11/05/2015"; 11/05/2015; "11/05/2015-11:11:27 '; "6.07"

    SQLCL CSV output

    < blank line >

    "SYSDATE", "TRUNC (SYSDATE)", "TO_CHAR (SYSDATE," DD/MM/YYYY HH24:MI:SS) ',' LENGTH' "

    05/11/15 11:12:12, 000000000, 05/11/15 00:00:00000000000, ' 11/05/2015 11:12:12 ', 6,07

    --------

    You can see in the output of SQL CL

    * an empty line first (?)

    * the fields sysdate is followed, 0000000, which breaks the structure of the csv file. Don't know why this is displayed.

    * value sysdate is fine (date + hour) in sqlcl, trunc (sysdate) should not display the time (minor)

    * in sqlplus then I've not used instructions ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ",".

    digital data are 6.07 (whereas it should be 6.07, and default sqlplus output. (In sqlplus to 6.07, I need to put the NLS_NUMERIC statement above))

    * in sqlplus, only char data are placed in square brackets. In my case it would be necessary to have each data attached to make sure that imposing CSV is safe.

    If too many problems, I can't currently use sqlcl to generate a csv result...

    Don (don't know if this is the place to talk about SQL imporvement, , but it would be great if the sqlcl could be improved: )

    * the date of issue (000000) would be fixed (unless there is a solution?)

    * Digital output default must be with '.'. And after having the opportunity to change the decimal separator, as in SQLPLUS

    * We wouldn't abilty to choose whether the data should be included or not in the media (even for digital data / date)

    * We would be able to change the csv separator

    * no first blank line ould generated (minor)

    Thanks for any suggestions you could provide, because at the moment, I can't use sqlcl to the output in csv format, although it has very promising output features

    > We are working on support for that now.

    What I wanted, it was, it does not work in the latest version available, but work soon.

Maybe you are looking for

  • Battery problems please HELP

    Hi all I just brought a laptop from pc world and there no battery sothey gave me money to buy one, but I can't find an anywere is a nightmere is a compaq presario a935em P/N KU062EA, someone got any idears and I have verified that hp and compaq sites

  • How to turn off the NumLock key?

    Yes, I googled this! I spent two hours Googling that! I followed the instructions on editing my registry and changing the settings of the BIOS. I came to the conclusion that these solutions don't change the start-up for Num Lock. But I want the Num L

  • 1841 = &gt; unable to connect via SSH

    I am able to connect to the router via a tunnel of crypto isakmp using telnet. However, I'm unable to configure SSH on this thing. Can someone help me please in what I may be missing. I'm now at an impasse. I posted the router info and entered simila

  • Bubbles in Insight

    Anyone would be willing to offer a brief tutorial on creating bubbles in Insight?I would like to create a chart that shows the number of leads (on there), $ actual Budget of the campaign (in x) and assigned value (size of bubble) total revenue for sp

  • Urgent assistance needed with reminder please!

    Hey guys. I am very confused at the moment and really need help ASAP please! I created a DVD of marriage and after I burned the disc in reminder (CS5.1) project, then put it in my PS4 play, everthing seems blurry and low resolution! My menus of the t