Find out decimal value in oracle

Hi,
how to find out decimal value in oracle
eg, select find_decimal(10.55) from dual --> should give .55
20.432 --> .432
pls help

Like this?
SQL> ed
Wrote file afiedt.buf
  1  with t as (select 10.55 as dec_num from dual)
  2  --
  3  select dec_num - trunc(dec_num) as dec_part
  4* from t
SQL> /
  DEC_PART
       .55
SQL>

Similar Messages

  • How do I find out the version of  Oracle Time Zone files?

    Hello there,
    How do I find out the version of Oracle Time Zone files? I'm in the process of applying the recent oracle patch and need to find out the version of oracle time zone in my db. Could you please help me?

    run
    SELECT version FROM v$timezone_file;

  • How to find out the values which are assigned in authority group

    Hi to all
    Please tell me where can I find out the values which are assigned in authority object according to roles.
    for ex :
             Changed    Customer: Account Authorization                              F_KNA1_BED
              Changed    Customer: Account Authorization                              T-DR50175601
                Activity                       01, 02, 03, 08                                                              ACTVT
                Authorization Group            5100                                                                        BRGRU
    F_KNA1_BED is the authority object , assigned to one user.
    He can access the authorization group 5100. I want to check that value in my program.
    How ?
    Where it is stored.
    Please help me....
    Regards
    Anubhav Gupta

    Hi Anubhav,
    Please use this FM "SUSR_USER_AUTH_FOR_OBJ_GET" and pass the object name in it . You would get the values for that particular object.
    Thanks
    Nitin Sachdeva

  • How to find out the value a method is returning using JDI

    Is it possible to find out what value (not simply the type) a method returns. I'd have thought there would be some access under MethodExitEvent but I can't find anything.

    Is it possible to find out what value (not simply the
    type) a method returns.There's currently no way to access a method's return value in
    method exit events
    This is Bug Id: 4195445
    Synopsis: JVMDI spec: Add return value to Method Exit Event
    http://developer.java.sun.com/developer/bugParade/bugs/4195445.html
    See also:
    http://developer.java.sun.com/developer/bugParade/bugs/4813046.html
    This will be fixed in the next major release of J2SE (code named 'tiger')

  • How to find out the values of the pagecontrol

    Is it possible to find out the values of the pageitems in the request?

    hi
    keith posted an excellent code snipplet in the subject "A way to convert selection from query builder in DML language ", which can be found here :A way to convert selection from query builder in DML language
    ny tweaking the settings, you can retrieve the dimension members on the page axis, assuming that this is what you intended
    regards,
    thomas

  • How can I find out the java version Oracle has ?

    How can I find out the java version Oracle has built in?
    I've tried with ..
    SELECT comp_id, comp_name, version
    FROM dba_registry ;
    But I get.."table doesn't not exist".
    Thenks in advance!

    Pl post details of OS and database versions. Pl see this MOS Doc
    What Version of Java is Compatible With The Database JVM? [ID 438294.1]     
    and these Oracle docs
    11gR2 - http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_environments.htm#ADFNS654
    11gR1 - http://docs.oracle.com/cd/B28359_01/java.111/b31225/whatsnew.htm
    HTH
    Srini

  • How to find out difference between IAS Oracle Home patches and 10.1.2 Oracl

    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help me

    user10721329 wrote:
    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help meWhat docoument you are referring to?
    If you source the application env file APPS<CONTEXT_NAME>.env file under $APPL_TOP directory then this will set ORACLE_HOME to 10.1.2
    If you source the application env file <CONTEXT_NAME>.env file under $INST_TOP/ora/10.1.3 directory then this will set ORACLE_HOME to 10.1.3
    Environment Settings
    http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm#F_92659x3Ax20H1x20Head1x3Ax20Environmentx20Settings
    Thanks,
    Hussein

  • How can I find out the value of my giftcard without redeeming it? It is a gift for a friend.

    I do not know if the itunes giftcard i currently have has been activated and can be redeemed. I cannot redeem it to my acount because it is a gift for a friends birthday, and doing so would transfer the value of the card into my account. Is there anyway to find out it is has been activated and can be used??

    Call 1-888-320-3301 and follow the instructions. You can also see your balance by visiting the account area of the online Apple Store online.

  • How to find out date of an oracle version migration?

    Hey guys!
    somebody knows if and where I can find out at what date an Oracle database was patched (i.e. migrated from let's take Oracle 8i to 9i as example).
    In SYS.REGISTRY$HISTORY, I only find data from the latest CPU, nothing concerning the database version.
    Can you help me out?
    Regards,
    Thomas

    I found an temporary solution:
    In SYS.REGISTRY$HISTORY, upgrades from 9 to 10 are saved. So if you want to handle migration dates for this scenario, you're right in this view. Other scenarios aren't saved in this view.
    Maybe somebody can explain to me what version_time in V$DATABASE can be used for? Oracle Reference is pretty uninteresting concerning that.

  • Ip SLA RTP based VOIP Operation - To find out MOS value

    Hi All,
    I am new to VOIP. We are trying to find out the MOS value in our VOIP network. For that we thought of using IP SLA RTP Based VOIP operation to get the MOS values. http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/htrtpvip.html
    I ve used 3825 with NM HDV module with 3 DSP as SLA originator and AS 5400 XM as SLA responder.
    But i'm not getting the MOS values,
    show ip sla statistics shows that the operation failed due to Format Failure.
    I ve attached the config of my 3825. Kindly go through it and advise if any changes to be done.
    In AS 5400 XM there is no special config related to this. I ve enabled only " IP SLA RESPONDER"
    Error message:
    LAB-3825-R6# sh ip sla stat
    Round Trip Time (RTT) for Index 1
    Type of operation: rtp
    Latest operation start time: *05:04:58.707 UTC Wed May 14 2008
    Latest operation return code: Format failure
    Latest RTT (milliseconds): 0
    Source to Destination Path Measurements:
    Interarrival Jitter: 0
    Packets Sent: 0
    Packets Lost: 0
    Estimated R-factor: 0 MOS-CQ: 0.00
    Destination to Source Path Measurements:
    Interarrival Jitter: 0
    Packets Sent: 0
    Packets Lost: 0
    Estimated R-factor: 0 MOS-CQ: 0.00
    Operation time to live: Forever
    Operational state of entry: Active
    Last time this entry was reset: Never
    LAB-3825-R6# sh ip sla stat aggre
    Round Trip Time (RTT) for Index 1
    Type of operation: rtp
    Start Time Index: *05:06:21.019 UTC Wed May 14 2008
    Number of successful operations: 0
    Number of operations over threshold: 0
    Number of failed operations due to a Timeout: 0
    Number of failed operations due to a No Connection: 1
    Number of failed operations due to an Internal Error: 5
    Number of failed operations due to a Sequence Error: 0
    RTT (avg/min/max): 0/0/0 ms
    Source to Destination Path Measurements:
    Interarrival Jitter (avg/min/max): 0/0/0
    Packets Sent (avg/min/max): 0/0/0
    Packets Lost (avg/min/max): 0/0/0
    Estimated R-factor (avg/min/max): 0/0/0
    MOS-CQ (avg/min/max): 0.00/0.00/0.00
    Destination to Source Path Measurements:
    Interarrival Jitter (avg/min/max): 0/0/0
    Packets Sent (avg/min/max): 0/0/0
    Packets Lost (avg/min/max): 0/0/0
    Estimated R-factor (avg/min/max): 0/0/0
    MOS-CQ (avg/min/max): 0.00/0.00/0.00
    Any help is greatly appreciated.
    thanks in advance.

    Hi,
    AS 5400 cannot be used even as SLA responder for RTP probe. Thats the reason i got the Format Failure error. We can view the type of SLA Probes the router supports by issuing the following command:
    sh ip sla application.
    for eg below is what i ve taken from AS 5400
    sh ip sla application
    IP Service Level Agreements
    Version: Round Trip Time MIB 2.2.0, Infrastructure Engine-II
    Time of last change in whole IP SLAs: 10:48:00.737 IST Tue May 20 2008
    Estimated system max number of entries: 49625
    Estimated number of configurable operations: 49608
    Number of Entries configured : 17
    Number of active Entries : 17
    Number of pending Entries : 0
    Number of inactive Entries : 0
    Supported Operation Types
    Type of Operation to Perform: dhcp
    Type of Operation to Perform: dlsw
    Type of Operation to Perform: dns
    Type of Operation to Perform: echo
    Type of Operation to Perform: frameRelay
    Type of Operation to Perform: ftp
    Type of Operation to Perform: http
    Type of Operation to Perform: icmpJitter
    Type of Operation to Perform: jitter
    Type of Operation to Perform: pathEcho
    Type of Operation to Perform: pathJitter
    Type of Operation to Perform: tcpConnect
    Type of Operation to Perform: udpEcho
    Type of Operation to Perform: voip
    IP SLAs low memory water mark: 68416281
    chnmgw1#
    Hope this will help others looking for RTP based VOIP operation..

  • Ways to find out modifications in base oracle apps installation

    What are different ways to figure out what all has been changed ( modified ) in a base oracle applications installation ?
    Basically need to find out in a 6 year old installation, what all objects / forms / modules where "modified", and not "extended". Assume that not all changes were done using a standard nomenclature.
    e.g. I read somewhere, to figure out what all "new" tables were created, a sql query on creation_date in all_objects or all_tables etc may give some hint/s.
    Is this right ? also how do we check for other objects like stored procs, seeded forms, other objects ?
    Thanks!

    Go to monitoring, expand reports, select Software Distribution Package and Program Deployment status and then select status of a specified package and program deployment, select your package and program deployment, and then you can see all successful,
    failed results and you can click and see further details. If you send it through task sequence use the task sequence deployment status to see the results.

  • Find out products installed on Oracle server

    Hi
    Can someone tell me how to find out whether Transparent Gateway, Change Management Pack, Advanced Security and Programmer is installed in server or not. It is not available by querying v$option view

    The inventory is kept in an XML-based data set, totally outside of the database. It is not visible to the database. Nor should it be part of the database ... that would lead to a Catch-22
    The 'deinstall' access is simply an access to the inventory which then allows additional functionality.
    OPatch gives us the patch inventory. OUI gives us the whole inventory.
    Why Oracle did it that way? ... your guess is as good as mine.

  • How to find out the version of oracle in a linux box

    HI All,
    Can anyone tell me how to find the version oracle 10g on a linux box.
    Thanks

    SQL> set line 1000;
    SQL> select banner from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> define
    DEFINE _DATE           = "12-NOV-09" (CHAR)
    DEFINE CONNECTIDENTIFIER = "loghost" (CHAR)
    DEFINE _USER           = "SYSTEM" (CHAR)
    DEFINE _PRIVILEGE      = "" (CHAR)
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    DEFINE _EDITOR         = "Notepad" (CHAR)
    DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Producti
    With the Partitioning, OLAP and Data Mining options" (CHAR)
    DEFINE ORELEASE = "1002000100" (CHAR)
    SQL>
    Regards
    Asif Kabir

  • Data Service Not showing all the out param values in Oracle Store proc call

    Hi,
    I have imported a Oracle stored proc which takes 3 input params and gives 33 out params.
    While testing the Data Service , it is showing only the First 3 out params.
    I tried the same request thrught JDBC code and it is showing results for some of the other params.
    Is this any DSP issue ?
    Thanks
    Gkumar

    Open a case with Customer Support and ask for the patch on CR295750.

  • Given that I'll use a natural key, how do I deal with the situation if I find out the value later?

    I have been doing a lot of reading about the pros and cons of using natural versus surrogate keys.  I have read in Joe Celko's books and his writing online that he strongly opposes using surrogate keys and using IDENTITY for generating values for a
    surrogate key column of a table in SQL Server.  I would like some advice on how to handle this situation:  I have a table with physician information and would like to use their NPI as a natural key (it would be a foreign key in many other tables)
    but the people who enter new physicians often don't know the NPI until later.  They also may receive the wrong NPI and need to change it later.
    Right now they use Excel spreadsheets to manage their data and I'm sure you can understand what a nightmare of data integrity that is.  Now that I'm going to design and build a database for them, can you recommend a good approach to this specific problem?
     I cannot tell them to hold on to the new physician's data until they get the NPI because they need to immediately work with the physician's information as soon as the new physician joins the organization.  It's a small shop and not a health system
    but thousands of physicians join.  They cannot insist that the NPI be supplied at the time of registration for various political reasons.  The people who are using the system now have varying degrees of skepticism to outright vehement opposition
    to having a new database system so I cannot "lay down the law" about things that may adversely affect the relationship with the new physicians who sign up.  With the Excel spreadsheets they cope with this by either leaving it blank, entering
    9999999 or some other stray string of characters, or perhaps typing in their shopping list.
    Is there a viable solution to this design problem?  Any and all suggestions appreciated.  Thanks for reading this.

    While I disagree with the standard practice of adding an identity column as the primary key for every table, I think that this is a case where it can be beneficial or practical.  You might not want to cluster on the identity column and you still need
    to enforce the uniqueness of the natural key. 
    OTOH, the alternative is to simply fabricate a value for the natural key when it is unknown.  You could do this manually (where the user must enter the fabricated value) or automatically (where the server generates it).  A manual approach might
    be frustrating to the users since they have to "guess" what would be unique and acceptable, resulting in sort of trial-and-error approach to adding.  You would also very likely need to have a way of identifying which rows had a fabricated value.  Once
    the actual natural key has been identified for a given provider you would then need to update it.  The server can handle cascading the value where needed if you so choose.  Note that, except for the cascading part, you need the same capabilities
    for an identity-based table since this natural key is most likely essential to the system. 
    I'll also point out that you can use a unique constraint as the target of a foreign key - you don't have to use the primary key.  Not recommending this, just mentioning the alternative.  
    Which you should choose I can't say - that requires a much better understanding of your model and that isn't something that can be readily provided in a forum such as this.  I will say that you should not prematurely choose an identity.  Why?  First,
    you make this choice once you have deemed the natural key to be a problem.  Second, it may be (at least) some of your anticipated relationships to physician are actually to something else.  A medical system is as much art as science - at least in
    the USA.  Providers, plans, participants, terms, renewals, diagnosis codes, etc. make one's head spin.  Given that you have just started modeling, there is no reason at this point to make this choice - just be aware that the natural key poses some
    issues that you need to address at some point before completion.  Personally I would choose the natural key for now and let the model develop and demonstrate where this choice becomes a problem. 

Maybe you are looking for

  • Hello I have a problem since my installation of the Yosemite update on my Mac I can longer open Indesign CS6

    Hello Hello I have a problem since my installation of the Yosemite update on my Mac I can longer open Indesign CS6. I have a problem since my installation of the Yosemite update on my Mac I can more open Indesign yet I have installed JavaForOSX2014-0

  • Solaris 10, ssh and users without password

    Hi, we're making heavy use of password-less logins (a generic user account with no password and a special app as login shell). The account gets Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). and that's it. How do I m

  • CollapsiblePanel and datasetProblem

    I have a form wich supposed to interact the collapsible panels. The first option add category is working , however the second one does not. should I create a form for separate CollapsiblePanel. <cffunction name="GenerateAdmissionsWizardText"> <cfsave

  • Music doesn't loop seemless

    Hi to all and thanks for this forum. I'm almost new to Encore (have 2.0). I created a nearly 8 seconds audio to loop very well and put it in the start menu. I loops, but each time it loops I notices something like 1 o 2 seconds of silence. Any help w

  • N73 problems after software update

    Both, my wife and I heve N73's . We recently updated the firmware to V4.0726.2.0.1 Since then we had nothing but problems. It took me all night to finally get the phone on line. The only way I was able to do it , was to continuously punch the navigat