Seeing decimal values in TOAD, but not in SQL Developer

I'm writing on behalf of a co-worker. He's using SQL Developer to look at some records in a database, but in one column he sees zeroes instead of the correct decimal values (the values are between 0 and 1).
However, the developer he's working with is using TOAD and sees the correct decimal values in the column.
Any idea as to how to get the decimal values to appear correctly within SQL Developer?

The database version is 10g, the version supported by TOAD is 9.
Hi ,
1/I have not seen this reported please give a create
table statement and some test data to insert to
reproduce the problem.. Please give versions of
SQLDeveloper and the Oracle database - out current
production release of SQLDeveloper is 1.5.1(.54.40)
2.If you can convert the number to a string at the
database side say with TO_CHAR you should see the
string representation of the number in SQLDeveloper.
This would work if you are using a select via the
worksheet or a view on the table with the number if
you want to see it in a views data tab.
-Turloch

Similar Messages

  • Can connect via ODBC but not via SQL Developer?

    Hi, all.
    My setup:
    Windows XP Pro
    JDK 1.6
    SQL Developer 2.1.1.64.45
    I'm attempting to connect to an Oracle DB using OS authentication and trying hand-entry of the host and SID; and also trying my TNS file. When I attempt to connect via SQL Developer, I get the following error:
    "Status : Failure -Test failed: ORA-01017: invalid username/password; logon denied."
    When I attempt this same connection, however, using ODBC and Access, I can get right in and see the tables.
    What can I try in order to get SQL Developer working correctly?
    Thanks,
    IVR Avenger

    I'm not really familiar with connections Using OS authentication, but if OCI+TNS based connections work you could try to activate OCI connections by selecting
    Preferences -> Database -> Advanced -> Use OCI/Thick Driverand then use the TNS connection type when creating your connection.
    It should work well even with the thin driver but i cannot help you in this case because i've never had to use this kind of authentication.

  • ORA-01427 in C# but not in SQL Developer

    Hello everyone!
    I have a query that works perfectly when executed from SQL Developer. However, executing the same query from C# gives error ORA-01427.
    I am using Oracle.DataAccess.dll version 2.111.6.20, which cannot be changed, because the software is distributed and all users would have to install the new driver.
    -- part 1
    with
    mat_stats
    as
    (select
    t1.nr,
    t1.ver,
    t4.stat,
    count( distinct t4.kom_id) as cnt
    from
    table1 t1,
    table2 t2,
    table3 t3,
    table4 t4
    where
    t3.spec_spec_id = t2.spec_id
    and t1.man_id = t2.man_man_id
    and t4.kom_id = t3.kom_kom_id
    group by t1.nr, t1.ver, t4.stat
    order by t1.nr, t1.ver, t4.stat )
    -- part 2
    select distinct
    nr,
    ver,
    -- part 2a
    (select cnt from mat_stats xres
    where xres.nr=nr
    and xres.ver=ver
    and stat='OK') as ok_cnt,
    -- part 2b
    (select cnt from mat_stats xres
    where xres.nr=nr
    and xres.ver=ver
    and stat='TOL') as tol_cnt
    from mat_stats
    The output from part 1 is
    "nr" "ver" "stat" "cnt"
    1 5 "NOK" 4
    1 5 "TOL" 1
    And the output of part2 is (SQL Developer)
    "nr" "ver" "ok_cnt" "tol_cnt
    1 5 "" 1
    What am I doing wrong ? Or is this a known bug ?
    Cheers,
    Chris

    now if the sum is changing the value then I have to ask: are these hitting the same data sources?
    let's change the query around a bit and see if you get the same result
    try this query
    with
    mat_stats
    as
    SELECT 1 NR  ,
           5 VER ,
           'NOK' STAT ,
           4 CNT
    FROM DUAL
    UNION
    SELECT 1 NR  ,
           5 VER ,
           'TOL' STAT ,
           1 CNT
    FROM DUAL
    -- part 2
    select distinct
    nr,
    VER,
    SUM(CASE STAT WHEN 'OK' THEN CNT ELSE 0 END) OVER() OK_CNT,
    SUM(CASE STAT WHEN 'TOL' THEN CNT ELSE 0 END) OVER() tol_cnt
    FROM MAT_STATS ;
    NR                     VER                    OK_CNT                 TOL_CNT               
    1                      5                      0                      1                      note I just "faked" your data based on your initial results, so you ought to be able to be able to change the with clause back to yours.
    Run a full select in C# and look over the result set (fill a datatable and do a row.count then compare to a full select in Developer and see if the row counts are the same.

  • Getting values in preview but not on paper

    hi gurus,
                 the variables on a window is showing values in preview but not on paper the window is above a top-left  portion of other window..
    i need to display those variables on paper at print time...as alignment is perfect ..suggest me how to do?
    thnx in advance!!

    DEAR SEE THE POSITIONING OF WINDOWS,
    FOR THE BOTH WINDOWS WHICH ARE COLLIDING,
    GO TO OUTPUT OPTIONS AND MAKE UPPERMARGIN AND HEIGHT IN SUCH A MANNER THAT THEY NO LONGER COLLIDE.
    SEE THE OUTPUT.
    I THINK THEY ARE COMING NOW.
    REWARD IF USEFUL.
    aMIT sINGLA

  • I set up my iCloud account on iPad with an exchange account and aol account.  I can see exchange and aol emails but not those from .me account or apple email.  I got it to show all 3 accounts on my iPhone with no problem.  Hat am I missing?

    I set up my iCloud account on iPad with an exchange account and aol account.  I can see exchange and aol emails but not those from .me account or apple email.  I got it to show all 3 accounts on my iPhone with no problem.  Hat am I missing?

    I'm having a similar problem, but I do have the key and is not working anyway.
    My old pc was running on windows 7 and my new one is an apple running on Lion.
    My phone is an Iphone IV and I can see all the bookmarks there.
    In order to sync, what I did was click on the "I don't have the device with me", I entered the key that was provided and the process finish ok. It says congratulations, etc, etc.
    But the bookmarks are not there, I tried merging data and replacing data on this computer options but is the same.
    Any suggestions?

  • Opening a new file in photoshopcc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    opening a new file in photoshop cc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    Graphics card is the problem.
    Trying to update drivers now.
    Thanks for your help
    john

  • I cannot find my most recent events.  I can see the photos in "photo" but not event.

    Why did my most recent events not appear?
    I can see the photos in "photo" but not in events,and I named them and everything.

    It does you are looking in the wrong place
    either the date of the photo is incorrect or the event sort is wrong (view menu ==> sort events)
    You also can select a photo in "photo view" and show event to find the event
    LN

  • I accidentally cut instead of copied a folder of previously imported raw files. When I pasted the folder back I could see it in Windows Explore but not in the LR library. How can I work with these files again?

    HI,
    My daughter will often ask me to give her raw files I've taken at family events so that she can process them in her own copy of LR. (I work too slowly, apparently.) Recently I inadvertently cut instead of copied a folder. When I pasted it back I could see it in Windows Explorer but not in my LR library. I thought that re-importing the files might work, LR gave me a message that they were already imported. I expect there is a way to make the files available again in LR and would be grateful for some advice.
    thanks
    Ken

    The solutions is either of the following:
    Adobe Lightroom - Find moved or missing files and folders
    Copy the photos back into the exact same folder and folder location that they were in before
    I don't know what you actually did "when I pasted it back" ... but the bigger issue is that you shouldn't be working with these files in your operating system, period. Once you import them into Lightroom, you don't manage these files in your operating system.

  • I can see the MICR in PDF but not Printing on Printer

    I have almost done with AP Check printing using BI publisher I can see the MICR in PDF but not Printing on Printer It is printing as normal font... I missed something?
    Thanks
    Rahul

    Pls Help on this issue
    Thanks
    Rahul

  • I can see my device in itunes but not my music,movies which is in my itunes. the folder is not shown on itunes ):

    i can see my device in itunes but not my music,movies which is in my itunes. the folder is not shown on itunes ): what should i do. please help! ):

    Have you tried installing and updating apps from the iPhone itself?
    If you have restrictions enabled go to settings>general>restrictions and make sure "Installing Apps" is on.

  • I see my apps in itunes but not in my iphone, if just update ios, someone can help me?

    I see my apps in itunes but not in my iphone, if just update ios, someone can help me?

    When you go onto iTunes and you have plugged the device in it comes up at the top saying 'summary' 'info' etc if you press onto 'apps' does it show that they are ticked where it says sync apps? if not then tick it, sync it and hopefully that will help?
    hope it does

  • I bought Mountain LIon but no dmg is downloaded. I can see the invoice from Apple but not the OS I supposed to receive. Is it a bugg?? I have a mac book air. Thanks

    xI bought Mountain LIon but no dmg is downloaded. I can see the invoice from Apple but not the OS I supposed to receive. Is it a bugg?? I have a mac book air. Thanks

    Thanks for the reply.
    However the trick is that it cannot download at all.I m asked to download the application. Then I put my Apple ID, then it start to download but just 1s... Then ....Nothing. No application, no error message... Just a nice invoice....

  • Query working fine in toad but not in forms 6i

    i have following coding on when button press triger
    declare
    CURSOR C1(year number,month number) IS
    SELECT ITM_NO,ITM_NAME,XAQ QTY,XAQ*TP VAL,gp
    FROM
    select ci.itm_no ITM_NO,ci.itm_name ITM_NAME ,cpg.group_id gp ,xaq ,ALLIED.CORP_PRIC_TP( ci.itm_no)TP from
    select prod_no,sum(xaq)*1 xaq
    from
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_01_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_02_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_03_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_04_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    group by prod_no
    ) A,allied.corp_inv ci,allied.corp_01_01 c01, allied.corp_01_02 c02,allied.corp_prod_group cpg,allied.v_prod_grp vpg
    where ci.itm_no=a.prod_no
    and ci.itm_no=c02.itm_no
    and c01.grp_id=c02.grp_id
    and c01.grp_id in(55,56,57,58,59)
    and vpg.prod_no =ci.itm_no
    and vpg.group_id=cpg.group_id
    where XAQ <>0;
    Begin
         delete from fiaz.tmp_topten_prod;
         for i in c1(:year,:month)
    loop
              insert into fiaz.tmp_topten_prod
              values(i.itm_no,i.itm_name,i.qty,i.val,i.gp,0);
         end loop;      
    standard.commit;
    message('inserted in temp');
         exception when others then
              message (dbms_error_text);
              message (dbms_error_text);
    End;
    Same Query (as used in cursor c1) works fine in toad but giving wrong result from forms... and the problem is xaq field i.e returns incorrect qty...
    i guess union clause is not working in this situation...
    plz suggest me the appropriate changes in the query to work well from form as well...
    combination:Forms 6i,Oracle 8.0.6
    Regards,
    Usman Afzal

    As per your suggestion i have created a stored procedure but the followin error prevents procedure creation
    create or replace procedure fiaz.topten_prod(v_yr number,v_mn number) is
    begin
    delete from fiaz.tmp_topten_prod;
    insert into fiaz.tmp_topten_prod(itm_no,itm_name,qty,val,grp_id,prority)
    SELECT ITM_NO,ITM_NAME,XAQ QTY,XAQ*TP VAL,gp,0
    FROM
    select ci.itm_no ITM_NO,ci.itm_name ITM_NAME ,cpg.group_id gp ,xaq ,ALLIED.CORP_PRIC_TP( ci.itm_no)TP from
    select prod_no,sum(xaq) xaq
    from
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq from allied.mrk_01_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_02_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_03_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_04_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    group by prod_no
    ) A,allied.corp_inv ci,allied.corp_01_01 c01, allied.corp_01_02 c02,allied.corp_prod_group cpg,allied.v_prod_grp vpg
    where ci.itm_no=a.prod_no
    and ci.itm_no=c02.itm_no
    and c01.grp_id=c02.grp_id
    and c01.grp_id in(55,56,57,58,59)
    and vpg.prod_no =ci.itm_no
    and vpg.group_id=cpg.group_id
    where XAQ <>0;
    commit;
    end;
    Error:
    "PLS-00201: identifier ALLIED.MRK_01_02 must be declared "
    i have not changed any thing in query working fine in toad without create procedure text and if i describe this table it shows the structure (desc allied.mrk_01_02)
    Now where is the problemmmmm
    Plz Help

  • Search for coding possible thru Toad, but not thru Forms Builder

    Hi all,
    I am searching for a particular word 'instalment' which is used in forms. when I search using 'Find and Replace PL/SQL' there are no matches. But in Toad, when i search in 'Find in Files', its displaying the code containing the above word in a particular .fmb file. why this is happening?? I am in urgent need of that code.
    Pls help me.. its urgent!!
    Edited by: user13106173 on Dec 6, 2010 3:05 AM

    When I open that file in Quick view from ToadWhich file are you referring too when you say "that file"? I assume you mean the Forms Module (.fmb), but I hate to assume things so could you please confirm this for me? ;-)
    How can we see attached library details?There is no way to view the PL/SQL code of an attached library except by opening the library in the Forms Builder. If your form has an attached library, the Object List Report will indicate there are attached libraries in the "Attached PL/SQL Libraries" section of the report.
    * Attached PL/SQL Libraries                        
       * Name                                            MY_LIB_NAME
       - Comments                                       
       * PL/SQL Library Location                         MY_LIB_NAME
       * Name                                            RP2RRO
       - Comments                                       
       * PL/SQL Library Location                         rp2rro
    But through forms builder, I cant see the below details. Don't quote me on this, but believe TOAD's quick view displays all of the code in the .fmb, even the code of an attached library, whereas Forms Builder will allow you to see the signature of the program units in the attached library, but not the code.
    Also the ct_message display item used here is not created in this particular form. It is in some other form. How this happens?Is the CT_MESSAGE display item a Subclassed item? Meaning, it was included in your form file through an Object Library or by copying the item to the form and choosing to subclass (create a reference to) the item rather than copy of the item in your form. Oracle Forms implements inheritence through the use of subclasses. By subclassing an item (be it a Visual widget [like a button] or a Program Unit) Forms stores a refernce to the object rather than the actual object. This allows you to share and reuse code and objects.
    Check the Object List Report of your form and see if there are any attached libraries. If there are attached libraries, open these libraries in Forms Builder to find your code. It is also also possible to subclass objects in your form file through the use of Object Libraries. Check your Object List Report to see if there is an Object Groups sections:
    * Object Groups                                    
       * Name                                            CALENDAR
       - Subclass Information                           
       - Comments                                       
       * Object Group Children                          
         * Name                                          WHEN-NEW-FORM-INSTANCE
         - Subclass Information                         
         * Real Object Pointed to by the Object Group Child
         * Name                                          WHEN-WINDOW-ACTIVATED
         - Subclass Information                         
         * Real Object Pointed to by the Object Group Child
    .....If the CT_MESSAGE item was added to your form thorugh an object library, it will be listed in this section of the object list report.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Pass variable values between Applications,but not through URL.

    Greetings,
    My objective is to pass a value from one page in one application to another page in a diferent application.
    I am aware through some posts i ahve read in the forum that it is possible to pass the value through URL,
    however besides being unable to do so i don't want the user to be able to see the value in the url.
    Also it may be a big value and there are URL size limitations as well as not looking pleasant.
    I have considered keeping the value in a database field, but i would like to use this only as a last resort since the value is temporary and when it gets to destination page it will disapear.
    Anyone is aware of a solution for my problem?
    My Homepage
    Best Regards

    Hi Igor,
    I don't know if the APEX_UTIL. [SAVEKEY_NUM|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#sthref2583] / SAVEKEY_VC2 functions work across apps, but you could try. The other thing you could try is setting a cookie using the [OWA_COOKIE|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/w_cook.htm] package.
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Error while activating data loaded into DataStore Object in BI 7.0

    Hi Guys, I am facing the following problem : When I load data into a Datastore Object, all the records get loaded but the job fails during activation of the data. Below is the job log : Activation is running: Data target 0RPM_DS07, from 77 to 77 Over

  • Is it possible to change the font size and weight in an ADF table?

    Is it possible to change the font size and weight in an ADF table? I have tried to change the various font size and weight settings for a table and its columns and they seem to have no effect on the font size or weight in a table row.

  • Can anyone explain this error and how to solve it?

    When I create a text table and activate it at last, the system gives me a warning as this: Exactly one field LANGUAGE of LANG type: Select as text language Message no. DT199 I don't know what it means. Can anybody explain it? Thank you very much

  • Can't install final cut pro trial version 10.0.6

    hello, i can't insatll the trial version of final cut pro 10.0.6 after downloading and agreeing, there comes an information that the disk image is destroyed. i tried downloading it many times on different machines but the problems stays the same. ple

  • Changing framerate does not work

    It doesn't seem to matter to the output file I get what kind of framerate I select when constructing the output VideoFormat. Am I doing something wrong ? I want to get a framerate of 30 FPS. FileTypeDescriptor outputType = new FileTypeDescriptor(