Change data type of RTF model

Hi team,

I don't know if this is possible, but don't we have a way in which we can change the data type of a column of rtf model by preparing the model.
Can you please help!

Thank you
Bhupendra

Published by: Bhupendra Gupta on September 9, 2009 04:21

It's here

http://winrichman.blogspot.com/2009/09/delimiter-based-e-text.html

http://winrichman.blogspot.com/search/label/BIP%20E-text

Tags: Business Intelligence

Similar Questions

  • Change data type of flashback

    If I change the data type of a column, and there were no other structural changes, I have indeed flashback the table to one point more old if I first return they datatype its original definition?

    I would like to try it myself, but I messed up somewhere and disabled my return of flame somehow... maybe for the current session or the entire database, I need to see what is wrong - for now I would like to continue my current reading instead of playing with that.

    Assistance regarding the issue is appreciated, thanks.

    This should answer your question:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9012.htm

    FLASHBACK TABLE

    Goal

    Use of the FLASHBACK TABLE statement to restore a previous state of a table in the event of human error or application. The time in the past including the table can be flashed back is dependent on the amount of undo data in the system. Also, Oracle database cannot restore a table to an earlier state across all DDL operations that modify the structure of the table.

    See that last sentence?

  • How do I edit/change data type on the report which has been selected by mistake


    Hello

    I've created a report in the APEX and a column is in error because the data type of a supposed to be a varchar2 column, but somehow the report was created with a data type Date. I want to change the data type without re-creating the whole report. Can anyone help? I tried to edit the report but could not be able to understand.

    Help...

    I found a solution for this, I thank you.

  • Change data type for the column in a table - Oracle 8i

    Team,

    I need to change a VARCHAR2 column in number.

    ALTER table xyz change number abc;

    By giving the above statement, it says I need empty this column before you change.

    I can't change the data type before emptying this column.

    Please indicate any other solution. Give me some suggestions.

    Empty the column for me here BIG task.

    user11081688 wrote:
    I can't change the data type before emptying this column.

    Not according to the documentation:

    You can change the data type of any column or decrease the size of the entire column if all rows in the column contains NULL values.

    Please indicate any other solution. Give me some suggestions.

    You can add another column with the correct data type.

    ALTER TABLE xyz ADD COLUMN def NUMBER;
    UPDATE TABLE xyz SET def = TO_NUMBER(abc);
    ALTER TABLE xyz DROP COLUMN abc;
    ALTER TABLE xyz ADD COLUMN abc NUMBER;
    UPDATE TABLE xyz SET abc = def;
    ALTER TABEL xyz DROP COLUMN xyz;
    

    If I remember correctly, Oracle 8i does not support the change of name of column if this solution is a bit more complicated than 9i and above. Another option would be to create a new table with CREATE TABLE AS... SELECT, drop the old one and rename a new one to the old.

  • Change data type column - performance of indexes in Oracle 10 g

    Hello
    I have a table with too many lines (lines more than 2000000). I changed the data type (NUMBER of VARCHAR2) of an indexed column (the index is only for this column), using a temporary backup table:

    CREATE TABLE BKTABLE AS SELECT FIELD, ROWID AS IDROW ORIGNALTABLE;
    UPDATE ORIGNALTABLE SET FIELD = NULL;
    ALTER ORIGNALTABLE CHANGE THE FIELD VARCHAR2 (256);
    ORIGNALTABLE UPDATE A FIELD SET = (SELECT FIELD OF BKTABLE B WHERE B.IDROW = A.IDROW);

    This way worked OK.

    There is no performance problem knew about the ORIGNALTABLE index? Need to rebuild this index?

    Thks!

    Need to rebuild this index?

    YES

    ALWAYS
    View the name of the operating system (OS) & version for DB Server System.
    View the results of
    SELECT * from version $ v
    or post the Oracle version with 4 decimals

  • change data type...

    Hello...

    Change the data type of a column... replacement... it generates the error...
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype 
    How can I change the data type of the column, without trucating and re - insert the records...

    Thank you
    Baskar.l

    Baskar.l wrote:
    Hello..

    is there a way to take the table offline? and do... rather than shoot the PB... Suppose that even if it is the activity less period... is the new records inserted when you change the column will be inserted in the new column?

    Thank you
    Baskar.l

    There is no need to bring the entire base down. Choose a time of low activity and go for it!

    If you are on 10g there is a chance that it will fail with an ORA-00054 as an exclusive table lock is necessary. If not you will have to try again.

    If you are in 11g, add a column does not require an exclusive lock, but drop the column will be even if the risk is always there.

    HTH!

  • Change the Data Type of column on large partitioned Table Tablet

    Hello

    I was tasked to change a certain NUMBER of collar to a colonel VARCHAR2

    It is usually an easy task, but I ran into several challenges due to the size of the table, the second major problem is the compression of the table.

    To begin with, the Table and index are 4.4 to and hold around 11 lines billion. That the Table is compressed, not the index.

    The first option was to add a new collar of VCHAR, update from the Col de NUM, file and then drop the colonel NUM


    We ran this test in the Test environment and because discovered Compression Table that you can only mark the column is not used, and it can only be moved permanently from the Table if you unzip the whole Table and run «...» REMOVE the UNUSED COLUMNS'.

    The second way is to create a separate Table copy with the values of the source of neck, then write to null to the source of neck, change data Type when its empty and then update the source again with the copy Table values.

    The second option, that's what I'm testing, but I work with nearly 30 million lines by daily score, inserts take very long to fill.

    How can I make faster inserts between the Source and the copy Table?

    What other channels follow to accomplish the task above?

    Concerning

    Stephan

    Nowhere in your proposed solution was necessary for you to understand why the data source changes, its as simple that to take what is ons the table (all the facts in the original post) and offering the best way on the basis of previous experience or oracle skills acquired over time.

    If you spent so much time and thought to help with a solution that you did on WHY complain, you could have provided some feasible solutions already.

    No thanks to your information irrelevant and unnecessary, I've implemented a solution already.

    1 export the Source Table

    2. create a 'replica Table' using the DDL source using a temporary table name

    3. import all Partitions in the Table new

    4. before the Cut-Over, synchronize the changes from the Source to the replica Table

    5 rename the Source

    5 rename the Table of replica for the Original Source Table name

    6. slide the original Source Table

  • Change the number in Varchar2 Data Type

    Hello

    We have a running production applications. There is a column called home_number which is a type of data number, now called the new requirement to change of varchar2.

    I tried to edit the table get the below error.


    -Edit the "TECH_SOURCING_EMPLOYEE_DETAILS" table change
    -("HOME_PH_NUMBER" VARCHAR2 (1000))
    -- /

    -ORA-01439: column to change must be empty to change data type

    Please suggest me how to change the data type of column without affecting the data.

    Thank you
    Sudhir

    Try below, I tested in my database.

    create table tmp
    (ID NUMBER,
     HOME_NUMBER NUMBER(8));
    
    insert into tmp values(1, 9122222);
    
    alter table tmp add MY_HOME_NUMBER VARCHAR2(1000);
    
    update tmp
      set my_home_number = home_number;
    
    update tmp
       set home_number = NULL; 
    
    alter table tmp drop column home_number;   
    
    alter table tmp rename column my_home_number to home_number; 
    
  • To change the type of search to a string field in the DataObject Layout

    Hi all

    I am trying to change a simple string search field type, but at the same time, I don't want to lose the contents of the field. Is it possible to BAM?

    Thank you

    Jayanthi

    Hi Anne,.

    When we have data in place, that we cannot change data - type.you can do you something like make a backup of the data using Icommand object.

    and change the type of xml data exported in importing data Object.and the same.

    It's like ricks, if the purpose of these data are interrelated with other data object or if you created reports on the same.

    try something like that when you finished taking backup of all things

    Concerning

    Shankar

  • code xdoxslt:Sum does not not in the RTF model: method not found "sum".

    We get the error when you run a RTF model customized using the application (Oracle HRMS) below and in Office BiPublisher for a particular set of data (1 employees check data). Format RTF model code which seems to be the cause of the error is the cumulative total code which is supposed to sum YTD_HOURS for all elements in the DataSet xml AC_EARNINGS:

    Problem code: <? xdoxslt:sum(YTD_HOURS_[.!_=''])? >

    The error message below it seems to be having trouble with the sum

    HRMS Oracle concurrent Manager error:

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39
    )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl
    . Java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:677)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:425)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:244)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate (TemplateH
    Elper.Java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate (TemplateHelp
    St. Java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate (TemplateHelp
    St. Java:3548)
    at oracle.apps.pay.core.documents.DocGenerator.process(DocGenerator.java:521)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: method
    not found 'sum' to the oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    ... more than 17

    HR_6882_HRPROC_ASSERT
    LOCATION pyjavacom:2
    APP-PAY-06882: Assertion failure detected at the location pyjavacom:2.

    Cause: an internal error has occurred at the location pyjavacom:2.

    Action: contact your Oracle customer representative.



    Note: The RTF check model works ok most of the time, but there is a problem with the model of XML data below. In this scenario, there is no YTD_HOURS and only one line of data for this employee, unlike the data second example of another audit below.

    The data that the code does NOT work with:

    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58423 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511197 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1584.8 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25698.88 < / YTD_AMOUNT >
    Normal salary < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS > 80 < / CURRENT_HOURS >
    < YTD_HOURS > 1312 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL > 19.81 < / RATE_MUL >
    < RATE_RET / >
    < / AC_EARNINGS >

    Data that works with the code:

    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58423 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511197 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1584.8 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25698.88 < / YTD_AMOUNT >
    Normal salary < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS > 80 < / CURRENT_HOURS >
    < YTD_HOURS > 1312 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL > 19.81 < / RATE_MUL >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    < ELEMENT_CLASSIFICATION > attributed gains < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58444 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511222 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 3250 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 1.46 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 25,51 < / YTD_AMOUNT >
    Life term for the Group < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    Additional gains < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 58431 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10511205 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 2500 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 9.6 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 163,2 < / YTD_AMOUNT >
    < REPORTING_NAME > dental CB < / REPORTING_NAME >
    < CURRENT_HOURS > 0 < / CURRENT_HOURS >
    < YTD_HOURS > 0 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 64614 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10518109 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1526 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 1571.12 < / YTD_AMOUNT >
    < REPORTING_NAME > TOWP < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS > 80 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    revenues of < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 57863 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10510820 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 1200 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 937,2 < / YTD_AMOUNT >
    Holiday < REPORTING_NAME > < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS > 48 < / YTD_HOURS >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    < ELEMENT_CLASSIFICATION > attributed gains < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 63592 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10517244 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 3250 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 285.07 < / YTD_AMOUNT >
    < REPORTING_NAME > F90 SVEU DIST < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >
    -< AC_EARNINGS >
    < DATE_DISP_FLG > N < / DATE_DISP_FLG >
    Additional gains < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 67074 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 10520289 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 2500 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 85.24 < / YTD_AMOUNT >
    < REPORTING_NAME > other Tx RRs < / REPORTING_NAME >
    < CURRENT_HOURS / >
    < YTD_HOURS / >
    < RATE / >
    < CURRENT_DAYS / >
    < YTD_DAYS / >
    < ATTRIBUTE_NAME / >
    < ORIGINAL_DATE_EARNED / >
    < EFFECTIVE_START_DATE / >
    < EFFECTIVE_END_DATE / >
    < ELEMENT_CATEGORY / >
    < JURISDICTION_CODE / >
    < RATE_MUL / >
    < RATE_RET / >
    < / AC_EARNINGS >


    If anyone has any ideas as to what is necessary to resolve the issue we have in our company can you please let me know? I appreciate your time. If you need more information please let me know and I'll post it.

    Thank you

    Greg

    Published by: gtruta on November 20, 2012 16:20

    Published by: gtruta on November 20, 2012 16:21

    xdoxslt sum allows us to avoid the issue while fields sum with the value null. as you already now the condition with the field u do not need xdoxslt

    is - enough try this

    you are able to get a preview of the template with the code of the sum.

    Send me your model and xml. I can try at my side
    E-mail: [email protected]

  • MySQL data type

    Hello

    location:
    I've implemented a reverse engineering of a MySQL database.
    There are different types of data, not identified by ODI (question mark in column icoin)

    question:
    How can I open a data type for columns?
    is there a special KM choose? What is manual to change (double-click in the coloumn and change data type < undefined > to... blob, for example)?


    Thank you
    Michael

    I recently added a blog post about adding data types to ODI. Hope it would help you to solve your problem.

    http://gurcanorhan.WordPress.com/2012/02/28/adding-datatypes-to-ODI/

    Gurcan.

  • How to get the CSV file, RTF model output DATA

    Hi, Jorge

    Thanks for your help.

    as in the link you gave the model RTF can have the type of output CSV DATA but in the preview, I see only html, powerpoint, pdf, html, excel.

    How to see the result in SCV, DATA format using my RTF model do I have to do a specific design for these outputs.

    Thnaks in advance

    This is because it has been preconfigured with these outputs.
    Edit and add types of outputs more simply go to:

    1. change your report
    2. click on 'Display list' (upper right corner)
    3. click on the "output formats" (corresponding to your page layout) and
    4. check the formats (add) additional output you want your report to have.

    see you soon

    Jorge

  • Add/change the columns of data type (scripting)

    Hello

    I am writing a script to add default columns and their values in tables. So far, for me, it is possible to add columns to an existing table in the model.

    Then, I want to add value to the data type. I discovered there is a method called getDataType(). So far, I have not found the "setter; for this property.

    Like other scripts, I started by creating a table with columns, and then using the API to read the values.

    A simplified version of my code:

    get the columns of table

    myTab var = model.getTableSet () .getByName ("T_POSITIONS");

    colArray = myTab.getElementsCollection () .toArray ();

    loop through columns

    for (i = 0; i < colArray.length; i ++) {}

    the type of var data = colArray [i] .getDataType ();

    model.getAppView () .log (colArray [i] + "a datatype" + dataType);

    colArray [i] .setDataType ("VARCHAR2 (1)");

    }

    An error occurs when I want to run this script: could not find setDataType function in the object ID.

    I can't find the right method to add/change the datatype property.

    Any information would be appreciated.

    Hi Bart,.

    Here's what's in the column in the XML file:

    
    FDB11R21
    EMPLOYEES
    FIRST_NAME
    
    2015-01-13 12:45:08 UTC
    First name of the employee. A not null column.
    HR_870
    true
    false
    1
    LOGDT024
    20 BYTE
    false
    
    

    20 BYTES

    If you need set the size in "20 BYTE" or "20 CHAR".

    Philippe

  • Data problem whith model number data type

    Hi all

    Here's a strange thing with the data model of the Editor (Oracle Business Intelligence 11.1.1.7.0 / windows 7 / Firefox).

    Create a data set of sql query with this statement "select 1.23 double." The data type of the column is whole and cannot be changed.

    So I use the cast function "select cast (1.23 v number (16.2)) double ' and now it's OK the data type is double.

    Now add a second line, change the statement like this:

    Select cast (1.23 v number (16.2)) double

    Union of all the

    Select cast (4.56 v number (16.2)) double

    If you save the template, and charge it, the type of data has changed in full!

    Anyone know why this is happening?

    The patch should be applied, but is a temporary solution:

    Select cast (d.v number (12,2)) v

    de)

    Select v 1.23 double

    Union of all the

    Select 2.34 double v

    ) d

    Thank you

  • Import SQL Developer data change column entire varchar data type

    Hi all

    May I ask, how do to change all the data type of columns using a single click? I want to import a csv file that has more columns then 200. When I use SQL Developer to impoprt it to the Oracle database, there is the possibility to change the data type of the columns, but it is posibble only on a column-by-column. How can I do this with just a click of mouse? In the csv file, there are only numbers, not alphabetic or other characters. But SQL Developer sets automaticully VarChar for all columns when importing the csv file. And if the data type of the columns is of type varChar, the data mining model produced only 10% of predictive confidence. If the columns integer (number), the trust is more than 80%. I use about 50 tables, and each table has more than 200 columns, so changing the data type of columns by a something inhuman is ::(((
    I saved the csv as xlsx file, but when I tried to import it with SQL Developer, I chose this xlsx and Developer SQL closed the import window. If I can't import xlsx...

    Can someone help me?

    Thank you!!!

    You can send the generated here script? I just want to see the DDL Create of the Table and some examples of INSERT statements.

    To remove the rows in the Table, you can run this in the worksheet:

    DELETE

    ;
    COMMIT;

    You can run the Create Table DDL (skip all INSERT queries) to create the table. Then, use the Import Wizard to import data in this table (column all should have correct data types). In the Import Wizard, you can specify the Table to import the data.

Maybe you are looking for