Decimal  data type package name  oracle 9i

Dear Friends,
Can any one tell me , Package name of decimal datatype in oracle 9i.please........
Thank you

not clear
check to this
ANYDATA TYPE A self-describing data instance type containing an
instance of the type plus a description
ANYDATASET TYPE Contains a description of a given type plus a set of data
instances of that type
ANYTYPE TYPE Contains a type description of any persistent SQL type,
named or unnamed, including object types and
collection types; or, it can be used to construct new
transient type descriptions

Similar Messages

  • How to store and retrieve blob data type in/from oracle database using JSP

    how to store and retrieve blob data type in/from oracle database using JSP and not using servlet
    thanks

    JSP? Why?
    start here: [http://java.sun.com/developer/onlineTraining/JSPIntro/contents.html]

  • Dynamically Find out the Integer and Decimal Data Type of a Column

    Table: test (INTE number, DECI number(7,2))
    Try to dynamically determine the column type.
    Using select data_type from user_tab_columns. It only returns NUMBER which does not indicate if the column is an integer or decimal data type.
    Is there a way to dynamically determine if a column is integer or decimal type?
    Thanks

    First of all your column INTE stores not just integers but any franctional numbers too:
    SQL> create table test(INTE number, DECI number(7,2))
      2  /
    Table created.
    SQL> insert
      2    into test
      3    values(
      4           10.99,
      5           10.99
      6          )
      7  /
    1 row created.
    SQL> select  *
      2    from  test
      3  /
          INTE       DECI
         10.99      10.99
    SQL>If you want to declare column as integer you use either NUMBER(n) or INTEGER. And, as others already pointed out, you can check DATA_PRECISION & DATA_SCALE in data dictionary view USER/ALL/DBA_TAB_COLUMNS.
    SY.

  • Matching data types b/w oracle and sql server

    anyone here knows if there is a list of data types supported by both oracle and sql server (regardless of releases & versions?
    an immediate response would be highly appreciated.
    thanks.

    Hi,
    The following post might be of assistance to you:
    http://msdn.microsoft.com/en-us/library/ms151817.aspx
    If this is what you're looking for, then mark the question as answered and closed.
    Regards,
    Naveed.

  • Importing an SQL Server TEXT data type field in Oracle - problem with LONG

    Hello,
    I work in Oracle 9i and I created a view on a distant SQL Server database that contains a TEXT data type field. But I have a problem when I select that field in Oracle; I have the following error message: "ORA-00997: forbidden use of LONG data type".
    Could anybody have a solution for me, to solve that problem?
    Thanks a lot!

    It is very difficult to suggest anything without seeing your code.  I don't even know if what you are seeing is the actual value or an error code.  Often, negative numbers are indicative of error codes. 
    For instance -1 could mean that you have an invalid reference or path, etc...
    Can you post your code?

  • Check table in data type AFNAM (Name of Requisitioner/Requester)

    Hello,
    To satisfy a customer's requirement, I changed data type AFNAM so that it would have a search help. The search help name of this data type now points to the ZAFNAM view - this view is based on table ZQQPVS001, where I keep the valid entries for the field.
    Here.'s my problem: at least in one of the standard transactions ( ME5A - List Display of Purchase Requisitions), I can get help pressing F4 on the field but I cannot see the help button on the right side of the field. In other transactions (namely ME22n ), I can see the small round button.
    Any clues?
    Regards,
    Joã

    Hello,
    Problem solved.

  • How to insert data type information to oracle database

    Hi, there,
    I want to insert date information to oracle database in a jsp page using JSTL. but always got wrong message:
    javax.servlet.jsp.JspException:
    INSERT INTO DATE_TEST
    (date_default,date_short,date_medium)
    values(?,?,?)
    : Invalid column type
    I don't know how to convert java date type to oracle date type or vice versa. the following is the source code(all the fields of DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM are oracle date type. and even I want to insert d instead d1, I got the same wrong message)
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.util.*" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <%
    Calendar now;
    Calendar rightNow = Calendar.getInstance();
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <%
    java.util.Date d=new java.util.Date();
    java.sql.Date d1=new java.sql.Date(d.getYear(),d.getMonth(),d.getDate());
    out.print(d1.toString());
    %>
    <sql:update>
    INSERT INTO DATE_TEST
    (DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM)
    VALUES(?,?,?)
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    </sql:update>
    </body>
    </html>
    thank you very much for the great help!!

    I don't have time to read thru all your code, but I hope this information will help you.
    It depends on how the Oracle database was set up. Usually, the date format is something like this: '27-MAY-2003 22:10:00'. A quick check will be to run this SQL script in SQLPlus:
    select sysdate from dual;
    You have to convert the date from textbox or whatever to this exact Oracle format. Otherwise, Oracle will not accept it. It is very picky on that. I found the best way is to do the conversion inside the SQL statement. It makes life so much easier.
    Hope this helps.

  • Data Pump & Package Names

    Hi,
    When I import and then export I find that package names have changed to uppercase, are wrapped in double quotes and prefixed with the schema name. ( I'm doing schema specific exports )
    so
    pkg_name
    becomes
    SCHEMA_NAME."PKG_NAME"
    I use TOAD to compare schemas and this is a bit of a pain, any ideas how I can stop this from happening
    Kind Regards

    Hi,
    Yes my mistake re the schema names, but still having the problem with the package name being uppercased and encased in double quotes.
    for example running
    select text from all_source where line = 1 and type = 'PACKAGE' and owner = 'WKF_OWNER' on the source database gives
    TEXT
    PACKAGE pkg_wkf_document_input
    PACKAGE pkg_wkf_document_output
    PACKAGE pkg_wkf_aq
    PACKAGE pkg_wkf_config
    PACKAGE pkg_wkf_housekeep
    on the target database after doing the datapump import I get
    TEXT
    PACKAGE "PKG_WKF_DOCUMENT_OUTPUT"
    PACKAGE "PKG_WKF_DOCUMENT_INPUT"
    PACKAGE "PKG_WKF_AQ"
    PACKAGE "PKG_WKF_CONFIG"
    PACKAGE "PKG_WKF_HOUSEKEEP"
    so when I compare schemas it show the packages as being different due to the name.
    Looks like i will have to revert to export
    Regards

  • Decimal data type multiplied by quantity data type

    Hi all,
    i have a requirement where i have to multiply 3 fields, and get that result into fourth field.
    example:
    data: f1 type dec,    [Data type - Decimal; length 7]
            f2 type dec,    [Data type - Decimal; length 7]
            f3 type quan.  [Data type - Quantity; length 17]
    data: f4 type ??
    f4 = f1 * f2 * f3.
    what will the data type of field f4?
    Will field f4 be of decimal type. If yes, then what is the declaration syntax of f4.
    can i declare it as:
    data: f4 type dec.
    When i do this, i get an error saying type DEC is unknown.
    NOTE: For your information.I AM IMPLEMENTING THIS IN A  method inside a BADI.
    Points will be rewarded.
    Thanks in advance.

    Hi
    U need to use a reference to a dictionary field (like MSEG-MENGE) because there isn't an abap type to be used, the data type are only these:
    C     Character     
    N     Numeric string 
    D     Date        (YYYYMMDD)
    T     Time:            HHMMSS) 
    X     Byte (hexadecimal)         
    I      Integer                    
    P     Packed number       
    F     Floating point number
    STRING  String         Variable empty string
    If there isn't a dictionary field good for you, u can only use the type P.
    So or:
    DATA F4 TYPE MSEG-MENGE. (this field has 3 decimals)
    or
    DATA F4(16) TYPE P DECIMALS 2.
    Max

  • What is native Sql data types and does oracle support this?

    what is native Sql data types
    Does oracle support this?

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#g31099

  • Assigning a string value to a decimal data type field.

    Hi,
    I want to assign a value 'N/A' to an internal table field 'itab-field1' which is of data type dec.
    How can I do this?.
    Your help is really apprieciated
    Thanks & Regards,
    Soumya.

    hi,
    on what condition do u want N/A to be displayed, i hope when ever that field is empty...
    so u can do in this way..in stead of changing in internal table...
    when ever u r writing the values from internal table to output list..
    ther put a check like if  itab- field1 = 0.
                                      write :/ 'N/A'.
                                  else.
                                     write : itab-field1.
    hope this is helpful, because we can not pass char values to internaltable field of type dec..
    Rgds.,
    subash

  • Decimal data type

    Hi,
    I know this is a very silly thing to ask.
    But i got a doubt regarding the data types.
    look at this:
    <b>tables: zap.</b> " this is a custom table
    in this custom table "zap" the field "price" is defined like this:
    <b>field</b>| <b>field type</b>| <b>data type</b>| <b>length</b>| <b>dec. point</b>|
    price| zap_price| dec       | 11    | 6
    now in the program there is a field declared like this:
    <b>data: zap like zap-price.</b>
    now my doubt is:
    for the field <b>zap-price</b> is the value can be like this?
    a)     46578.654876
    or
    b)     4687.645478
    which one is correct.
    Please let me know.
    thnx for the help.,

    Hi,
    You a) point is right & so is point b).
    Your definition means..
    the total length of the field is 11,out of which a max of 6 places for decimals & ofcourse 1 will be assigned to the sign(- or +).
    Message was edited by: Phani Kiran Nudurupati

  • Decimal data type with negative sign

    Hi Gurus,
    I wanted to created a z table with a filed of type decimal with sign.  What I did is I created a field in predifined type with dec type, but -ve sign is not taking at the time of entering the data in SM30. Its saying only +ve values are allowed. Please let me know how can I achieve this. My data will be like -4.1242.
    Thanks,
    David.

    Hi..
    Try using another field as an indicator for negative fields so that you can consider those signs in your program.
    Regards,
    Karthik

  • How to give decimal data type in abap

    hi
    i m getting all the data from table
    and doing calculation
    i m using field TOTAL field for doing total
    total = neter + kbetr
    total = 150.50 + 120.20
    here in my out put answer is coming like below
    total = 270
    but i want
    total = 270.70
    THANKS IN ADVANCE.

    hi,
    declare the field in this way ..
    data : total type p decimals 2.

  • INTEGER DATA TYPE and Numeric Oracle URGENT Help needed

    Hello does any body knows if i run this statement of create table in oracle 9.2
    what is maximum number of digit the test_num can stores....
    create table test
    test_num INTEGER NOT NULL
    I have to reply to my client urgently..
    Regards
    Mahesh
    Ramnarayan123

    All the Oracle reference manuals are on-line at <http://tahiti.oracle.com>. A quick search on "INTEGER" will reveal the answer (38 decimal digits).
    Justin

Maybe you are looking for

  • WebHelp Navigation TOC acting goofy in Firefox 3

    I'm using RH7. In IE, everything works fine. In FF3, the following happens: I open a help topic, which happens to be one of the topics inside a book. The topic opens very briefly and then the help page for its parent (at the book level) opens. Any id

  • BAPI or FM to create Customer

    Hi there, I'm looking for a BAPI or FM that has the fields that I need to create a customer. I need to fill the "Withholding tax information", it is in the Company Code data. I can't find this data in the BAPI BAPI_CUSTOMER_CREATEFROMDATA1 and neithe

  • Trouble resizing Photoshop CS6 Image

    Hello. I created a logo in Photoshop CS6 (4500 x 4500 pixels) and need to now shrink it so that it may be posted on a web page. I need to shrink the image to: 50 x 50, 75 x 75 and 100 x 100 pixels. I have tried to resize the image, but have not had m

  • Uninstall and reinstall LR4 and Elements 10 to deal with computer issues.

    How do I uninstall and uninstall lr4 and elements 10 without running into problems with the number of installations permitted by the product license? Do I need to somehow unregister/reregister?

  • Airport Utility does not see devices

    Ok... this started because i noticed that iTunes was not seeing my remote speakers connected to the airport express... so i start looking into it. Mind you, the whole time i am connected to my wireless network. I have an airport extreme that is conne