2 differents results with sys.all_objects

select object_name,object_type
from sys.all_objects where owner = 'GROUPE'
and trunc(created) = to_date('12/08/2002','DD/MM/YYYY');
This select statement return 8 rows when running under SQL*Plus but inside a procedure it return 0 row when the procedure is executed, with the same user connected and the same grants.
Can somebody tell me why the same select statement return two different results ?
Thanks !!!
Fabrice

Barbara is correct in pointing out. You have access to those objects via the roles that have been granted to you.
they work fine in SQL*Plus. But PL/SQL is less forgiving. it does not go through roles assigned to you to
see if you have access to a object or not, it requires explicit grants on the objects directly to the user.
In addition to what Christian said, when executing a procedure, you need to have the rights to select and so forth granted directly, not through a role.

Similar Messages

  • Epson print drivers - should there be difference results with OSX and XP

    Since switching to a Mac a couple of years ago, the photo print output from my venerable Epson Stylus Photo RX700 seems to have become poor, with a slight greenish hue to the photos and a lack of colour crispness. I swapped the printer back to my even more venerable Dell XP laptop and the photo print quality is definitely better than with the Mac. I have installed all the printer updates as they occur in the App Store after selecting "Software Update". Even though the printer driver is obtained via "Software Update", I understand that it originates from Epson, or does it? BTW, for my model of Epson, the only way to install the print driver is via this route. Should the two drivers (OSX and Windows) result in a different quality of output? The rather large number of posts in this forum regarding Epson drivers does suggest an inherent issue but I am reluctant to buy a new printer as I have a stock of cartridges for my Epson model and they cost a small fortune.

    I haven't observed the large number of posts?
    I have three Epsons of that era, and the drivers seem to work OK for me.
    I suggest, for troubleshooting, you install the alternate drivers "Gutenprint" and re-add the printer. You might find you like it, too, because of all the color control it gives you.
    http://gimp-print.sourceforge.net/MacOSX.php

  • Differences between SYS.ALL_OBJECTS and SYS.DBA_OBJECTS

    Hi All
    I'm a beginner to ORACLE :)
    when I login as sysdba, and issue below sql:
    select count(*) from sys.dba_objects;
    COUNT(*)
    71596
    select count(*) from sys.all_objects;
    COUNT(*)
    70772
    Shouldn't it be equal? what is the objects that sys.all_objects can not see?
    Thanks
    Emily

    On my XE databases, related objects are LOBs, database links and queue:
    SQL> select owner, object_type from (select * from dba_objects minus select * from all_objects) group by owner, object_type;
    OWNER                          OBJECT_TYPE
    TSMSYS                         LOB
    CTXSYS                         LOB
    PUBLIC                         DATABASE LINK
    MDSYS                          LOB
    XDB                            LOB
    CTXTEST                        LOB
    OUTLN                          LOB
    FLOWS_020100                   LOB
    FLOWS_FILES                    LOB
    SYSTEM                         QUEUE
    SYSTEM                         LOB
    OWNER                          OBJECT_TYPE
    TEST                           LOB
    12 ligne(s) sélectionnée(s).It is possible that this difference exists because you cannot grant object privilege for these object types. For example, a LOB belongs to another database object generally a table: you cannot run "CREATE LOB" or "GRANT ... ON <LOB> TO ...".
    Edited by: P. Forstmann on Jun 12, 2009 9:52 AM

  • Text search returns results with some keywords, but not others

    This pertains to a tours website for Turkey. I've sucessfully
    set up a search form, and results page which returns results when
    multiple keywords are entered. Everything is working well, except
    when certain keywords are used. For example, the table column being
    searched for is called long_itinerary, so if anyone is interested
    in a certain site or city, it's bound to be in the long itinerary
    somewhere.
    Here's the problem, by example: When someone searches with
    the keywords Antalya, Konya, Ankara, or Adana, for example, results
    are returned from the database, and those keywords are in each
    returned tour's long itinerary.
    But certain keywords return nothing, even when they're in
    practically all of the tours, in the long_itinerary column. For
    example, Istanbul, Ephesus, and Izmir, Kusadasi and Pergamum return
    no results, even though they're there. I've gone through all of the
    most likely keywords, and these are the offenders. If, for example,
    I search with "Istanbul Ankara," I get results with tours including
    Ankara (and Istanbul, but only because the word "Ankara" is in the
    itinerary).
    First I made sure the Charset values were the same on the
    search form page and the results page. Still had the problem. Next,
    I went into the database itself, and copied the word "Istanbul"
    directly from the long_itinerary column of the database, and pasted
    it into the search function's text field, and searched again. Same
    problem--no results returned.
    I can't see any difference between the keywords which work
    correctly, and those which don't, what baffles me is that even when
    I copy a keyword directly from the database and paste it in the
    search text field, it returns no results!
    Well, I'm baffled! Any ideas what might cause this?

    Hmm -- one of my customers is a turkish building company
    (Kusadasi BTW), and when *they* add some contents to the DB,
    they´ll be entering turkish chars. It´s in particular the
    turkish "I" which is pretty different, and this is when a search
    for keywords containing a western "I" will fail.
    Could that be the problem in your case ?

  • Drawing images gives 2 different results with the same code.

    Im adding my code on here, and its sort of long but ill try to explain it. Most of it you can ignore.
    Anyway i'm making a tree menu with only 1 level of expansion. So you have a TreeMenu object, and this object has some Branch classes. These Branch classes have Leaf classes. That is all. On the menu there is also a little box where you can click to expand and collapse each branch. if a branch is expanded, all of its leaves are shown. if it is collapsed only the branch name is shown.
    So far what I've described above works, there is a small scale compilable working program, that is alright. Theres just a few bugs to fix.
    A little feature of the tree is if a branch or a leaf is selected (has been clicked on in the past) it has a blue background. This sort of works. The branch names seem to work alright, and some of the leaves. However other if you run the example i provided you can click on Leaf 1, and it will be ok, but if you click on Leaf 2 then there blue background is twice as big as it should be. But for the rest, it works ok.
    This is weird to me because the same code handles any of these same situations. So it seems that i get 2 diferent results with the same code. If anyone would like to help heres some stuff you should know:
    You can ignore Leaf class, i dont think theres any errors in there.
    You can ignore just about all of Branch class except the update() method.
    You can ignore all of TreeMenu class except the inner MouseListener class might be useful.
    You can ignore TreeTester. Just the JFrame tester class.
    to run the code:
    javac TreeMenu.java
    java TreeMenu
    http://cs.ucsb.edu/~jsterling/treemenu.zip
    thanks.

    You make a good point Stefan but unfortunately I already checked that.  I have even copied the mapping (right click copy) and pasted it from the working Mapping to the bad Map (Paste) to make sure the context values were all the same.
    I also opened all the queues and compared the values in each.  All values match exactly except for the result(out) queue.
    In both tests I am using the same IDOC XML file. 
    These are the only differences I see.
    1.  The IDOC is exactly the same as far as I can tell but they come from two different source SWCV.  SAP APPL 4.7 and Steelcase_Procurement (ECC 6.0). 
    2.  The working map uses a local UDF.  The bad map calls the UDF from a Function Group.  Is there a Java version difference between the two?
    A better sample of the result queues look like this:
    Correct Result:
    Thickness of Glass: 20
    Height: 10
    Width: 5
    Length: 18
    Thickness of Glass: 10
    Height: 15
    Width: 8
    Length: 14
    Bad Result:
    Thickness of Glass: 20
    <null>
    <null>
    <null>
    Width: 5
    <null>
    <null>
    <null>
    I took this chance to redesign my Variant Config output to separate the characteristics/values, but I'm still bothered that I was unable to determine what would cause the differing values.
    Any ideas?
    Thanks,
    Matt

  • Error while query SYS.ALL_OBJECTS in SQL Developer

    When I run the query[ select * from all_objects;] in sql developer with sys as sysdba in oracle 10g, it gives me an error
    ORA-04045: errors during recompilation/revalidation of SYS.ALL_OBJECTS
    ORA-06553: PLS-213: package STANDARD not accessible
    04045. 00000 - "errors during recompilation/revalidation of %s.%s"
    *Cause:    This message indicates the object to which the following
    errors apply. The errors occurred during implicit
    recompilation/revalidation of the object.
    *Action:   Check the following errors for more information, and
    make the necessary corrections to the object.
    SQL> SELECT * from dba_objects where owner='SYS' and object_name='ALL_OBJECTS';
    OWNER
    OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL_ TIMESTAMP STATUS T G S
    SYS
    ALL_OBJECTS
    2369 VIEW
    22-OCT-05 09-OCT-11 2005-10-22:21:45:28 VALID N N N
    SQL> select owner, object_name, object_type, status from dba_objects where object_name='STANDARD';
    OWNER
    OBJECT_NAME
    OBJECT_TYPE STATUS
    SYS
    STANDARD
    PACKAGE VALID
    SYS
    STANDARD
    PACKAGE BODY VALID
    Those I found are valid. How to fix the object?
    Any help?? Thanks.

    890276 wrote:
    When I run the query[ select * from all_objects;] in sql developer with sys as sysdba in oracle 10g, it gives me an error
    ORA-04045: errors during recompilation/revalidation of SYS.ALL_OBJECTS
    ORA-06553: PLS-213: package STANDARD not accessible
    04045. 00000 - "errors during recompilation/revalidation of %s.%s"
    *Cause:    This message indicates the object to which the following
    errors apply. The errors occurred during implicit
    recompilation/revalidation of the object.
    *Action:   Check the following errors for more information, and
    make the necessary corrections to the object.
    SQL> SELECT * from dba_objects where owner='SYS' and object_name='ALL_OBJECTS';
    OWNER
    OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL_ TIMESTAMP STATUS T G S
    SYS
    ALL_OBJECTS
    2369 VIEW
    22-OCT-05 09-OCT-11 2005-10-22:21:45:28 VALID N N N
    SQL> select owner, object_name, object_type, status from dba_objects where object_name='STANDARD';
    OWNER
    OBJECT_NAME
    OBJECT_TYPE STATUS
    SYS
    STANDARD
    PACKAGE VALID
    SYS
    STANDARD
    PACKAGE BODY VALID
    Those I found are valid. How to fix the object?
    Any help?? Thanks.
    >When I run the query[ select * from all_objects;] in sql developer with sys as sysdba in oracle 10g, it gives me an error
    ORA-04045: errors during recompilation/revalidation of SYS.ALL_OBJECTS
    ORA-06553: PLS-213: package STANDARD not accessible
    04045. 00000 - "errors during recompilation/revalidation of %s.%s"
    *Cause:    This message indicates the object to which the following
    errors apply. The errors occurred during implicit
    recompilation/revalidation of the object.
    *Action:   Check the following errors for more information, and
    make the necessary corrections to the object.
    SQL> SELECT * from dba_objects where owner='SYS' and object_name='ALL_OBJECTS';
    OWNER
    OBJECT_NAME
    SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE
    CREATED LAST_DDL_ TIMESTAMP STATUS T G S
    SYS
    ALL_OBJECTS
    2369 VIEW
    22-OCT-05 09-OCT-11 2005-10-22:21:45:28 VALID N N N
    SQL> select owner, object_name, object_type, status from dba_objects where object_name='STANDARD';
    OWNER
    OBJECT_NAME
    OBJECT_TYPE STATUS
    SYS
    STANDARD
    PACKAGE VALID
    SYS
    STANDARD
    PACKAGE BODY VALID
    Those I found are valid. How to fix the object?
    Any help?? Thanks.
    what happens when you do
    select * from all_objects;
    again?

  • Calling web service with utl_dbws and parsing the xml result with Xpath

    I'm invoking a web service from the database(10.2.0.2.0) using sys.utl_dbws and all is working well. After executing response := sys.utl_dbws.invoke(call_, request); I execute dbms_output.put_line(substr(response.getstringval(),1,1500)); which results with:
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    How do I parse out just the value 20292 of Column name="C_ID" using xpath? I've tired but I don't think i have the xpath set up correctly:
    dbms_output.put_line(response.extract('//result/Row/Column/child::text)','xmlns="http://xmlns.oracle.com/refCursor10g"').getstringval());
    Error messgae is:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "ADM.CONSUME_WEB_SERVICES", line 439
    ORA-06512: at 3
    Thanks

    Tried getting by the attribute but I don't think I have the format correct:
    dbms_output.put_line(response.extract('//result/Row/Column@C_ID/child::text()','xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST"').getstringval());
    Here's the full soap response envelope:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    </env:Body>
    </env:Envelope>
    Any thoughts?

  • Question about different query results with wildcard

    Hi, I'm working with a third party app on SQL Server 2000, and from what I can gather, programmed in C# & VisualFoxPro.
    When we search with
        Note contains 94949
    we get 571 results, when we search with
        Note contains 94949*
    we get 575 results.
    There should be at least a hundred different entries that start with "94949-1" so I expected the query with the wildcard to return something like 680 results, not an additional four rows.
    Searching with
        Note contains 94949-1*
    got 483 results
        Note contains 94949-10*
    got 0 results
    Could someone explain or point me to more documentation on the difference results we get?
    Thanks

    Hi Arnie, thanks for your response.
    My situation is more basic than what appears in your example. Unfortunately, I am working solely through this application so I do not have access to the SQL to test out what you supplied, so my question is more of a need for an explanation of the search results. I do find lots of references to LIKE, Wildcards and pattern matching, but I don't find a way to explain to the users the best and most complete way to search. They mostly need a "this will always get us the results without missing anything" search technique and then to be able to select from a smaller group. I guess I need a basic course in understanding search results: how to get different ones and what they mean.
    Using 
            Note contains 94949-'%'
    returned one more result than when using an asterisk. I don't understand this difference.
            Note contains 94949-'%1'   or
            Note contains 94949-'1%'
    brings nothing nor does not using quotes. But there are hundreds of records which have the string starting with 94949-1 and a varying number of characters after that.
    ?Does the dash read not as a character in the string but as an expression?
    When I use WITHIN 3 characters, I get too few results (eight). If I use AND, I get text unrelated to the account number I am looking for.
    Again when I tried to narrow the search by adding one digit to the string to be matched, I did not get any results, but 500 results from the more general search is too much to scan by opening individual records.
    Thanks for pondering this with me.

  • Why is it when i update my status on facebook from iohone it splits the updates into two differents boxes with some funky symbol. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app.

    why is it when i update my status on facebook from iphone it splits the updates into two differents boxes with some funky symbols at the beginning.. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app where it says to update staus text to FBOOK  i have already update my phone too.
    if i go on the facebook site and update there through a brower on iphone it will work fine just cant us IPHONE mobile upload,  . But its a pain of not using my IPHONE APP for facebook cause it does that.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Script for Save Options- Save Query Results with document

    Hi,
    Is there any javascript for Save query results with document in save options? If so where can i find that?
    Thanks
    Kalai

    hi guys,
    I found the answer.The following example shows you how to save the results with the query
    section named “SalesQuery”.
    ActiveDocument.Sections["SalesQuery"].SaveResults=true

  • Problem in login with sys

    hi,
    i have a problem in login with sys, the situation as follows:
    1- when i try to connect using : sqlplus "/as sysdba" or "sys/password as sysdba" it connect me to the DB.
    2- when i try to connect : sqlplus "sys/password@MYDB as sysdba" it gives me "ORA-01017: invalid username/password; logon denied".
    3- when i try to connect with another user i.e : sqlplus "system/password@MYDB" it connect me to the DB.
    DB version : 9.2.0.8
    OS version : Solaris 10
    please advice...

    1- when i try to connect using : sqlplus "/as sysdba"
    or "sys/password as sysdba" it connect me to
    the DB.This works anyway, because you're authenticated by OS. Example :
    SQL> conn sys/aaaa as sysdba
    Connected.
    SQL> conn sys/bbbb as sysdba
    Connected.
    SQL>
    2- when i try to connect : sqlplus "sys/password@MYDB
    as sysdba" it gives me "ORA-01017: invalid
    username/password; logon denied".Here you need the real password, so make sure you're using the correct one.

  • Different Risk Analysis Results with 10.0 and 10.1

    Hello,
    I do not understand why I get different results with 10.0 and 10.1. Exactly the same ruleset is applied!
    Definition in 10.0 and 10.1:
    Analyzed Role (which definitely contains the SOD):
    Version GRC 10.0 finds the SOD S_FI14 and displays it. In 10.1 nothing is displayed...Any ideas what's the problem?
    Regards
    Peter

    We had similar issues with 10 and 10.1.
    We applied an SAP Note about logical groups and the ruleset, it did not work.
    What did work:
    When performing Risk Analysis, remove the Ruleset selection criteria (use the minus button).

  • Type in "Advanced Search" and I don't get one result with advanced in it.

    I want to find results with all my criteria in it, not just one or two of the criteria. What is going on here?

    Hi,
    Sadly, nothing out of the ordinary. The search tool here doesn't allow for the use of AND.
    EDIT: There's a thread in the Suggestions forum requesting that the search tool be made useful, you may want to add your vote and voice there:
    http://social.technet.microsoft.com/Forums/en-US/9cf8ad4b-5111-4f84-9809-99cd8f1b7152/make-the-forum-search-tool-useful?forum=suggest
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Is there a way to promote results with exact match?

    Hi,
    Is there a way to promote (like add results block or something) results with exact match over results that match?
    (when stemming is on, so the search consider also words with morpholgy match, and sometimes display them at the top, and wWe want to put in top of the results a block of results with exact match)
    keren tsur

    HI,
    Yes you can promote the result with exact match.....
    1. Navigate to the search center
    2. Navigate to the search result setting page and click to the Query rule as per your scope.
    3. Create the new query rule depend upon your result source.
    4. Give the query rule name. Under the Query Condition-> select "Advanced Query Text Match"-> Select Option that you want form matches input->Make the Check box "Entire Query Matches Exactly".
    5. Create the promoted results and Result block as per your description.
    6. save the Query rule and apply the query rule to your search vertical.
    Regards,
    sharepoint for developer
    Basant Pandey

  • Inconsistent results with localtimestamp and current_timestamp

    Running XE on Windows XP with the system timezone to GMT rebooted, restarted XE)
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I'm getting incorrect and inconsistent results with current_timestamp and localtimestamp:
    With SQL, localtimestamp computes the wrong offset (appears to use 1987-2006 DST rules):
    select
    dbtimezone
    , sessiontimezone
    , current_timestamp
    , current_timestamp + numtodsinterval(18,'day') as current_timestamp18
    , localtimestamp
    from dual;
    +00:00     
    US/Eastern     
    17-MAR-10 10.27.17.376000000 AM US/EASTERN     
    04-APR-10 10.27.17.376000000 AM US/EASTERN     
    17-MAR-10 09.27.17.376000000 AM
    however, in PL/SQL, both current_timestamp and localtimestamp return the wrong hour value, and adding 18 to current_timestamp shows it is using 1987-2006 DST rules (1st sunday of april)/ note that this happens in straight PL/SQL and in embedded SQL (same results selecting from tables other than DUAL):
    begin
    for r1 in (
    select
    dbtimezone
    , sessiontimezone
    , current_timestamp
    , current_timestamp + numtodsinterval(18,'day') as current_timestamp18
    , localtimestamp
    from dual
    loop
    dbms_output.put_line('SQL dbtimezone = ' || r1.dbtimezone);
    dbms_output.put_line('SQL sessiontimezone = ' || r1.sessiontimezone);
    dbms_output.put_line('SQL current_timestamp = ' || r1.current_timestamp);
    dbms_output.put_line('SQL current_timestamp +18 = ' || r1.current_timestamp18);
    dbms_output.put_line('SQL localtimestamp = ' || r1.localtimestamp);
    end loop;
    dbms_output.put_line('dbtimezone = ' || dbtimezone);
    dbms_output.put_line('sessiontimezone = ' || sessiontimezone);
    dbms_output.put_line('systimestamp = ' || systimestamp);
    dbms_output.put_line('current_timestamp = ' || current_timestamp);
    dbms_output.put_line('current_timestamp +18 = ' || (current_timestamp + numtodsinterval(18,'day')));
    dbms_output.put_line('localtimestamp = ' || localtimestamp);
    end;
    SQL dbtimezone = +00:00
    SQL sessiontimezone = US/Eastern
    SQL current_timestamp = 17-MAR-10 09.29.32.784000 AM US/EASTERN
    SQL current_timestamp +18 = 04-APR-10 10.29.32.784000000 AM US/EASTERN
    SQL localtimestamp = 17-MAR-10 09.29.32.784000 AM
    dbtimezone = +00:00
    sessiontimezone = US/Eastern
    systimestamp = 17-MAR-10 02.29.32.784000000 PM +00:00
    current_timestamp = 17-MAR-10 09.29.32.784000000 AM US/EASTERN
    current_timestamp +18 = 04-APR-10 10.29.32.784000000 AM US/EASTERN
    localtimestamp = 17-MAR-10 09.29.32.784000000 AM
    dbtimezone = +00:00
    sessiontimezone = US/Eastern
    systimestamp = 17-MAR-10 02.16.21.366000000 PM +00:00
    current_timestamp = 17-MAR-10 09.16.21.366000000 AM US/EASTERN
    current_timestamp +18 = 04-APR-10 10.16.21.366000000 AM US/EASTERN
    localtimestamp = 17-MAR-10 09.16.21.366000000 AM
    is this a known bug?
    is there a patch or a work-around for XE?
    are other datasbase versions affected?

    Can't patch XE, unfortunately it comes with pre-2007 DST rules.
    There is a metalink note describing how to fix the DST changes, and while it's not really a "supported" method, neither is XE- if you can get updated timezone files from a later patch set for the same release, 10gR2, on the right operating system, shutdown/startup the database the updated DST rules will be in place. The timezone files are in $ORACLE_HOME/oracore/zoneinfo.
    Another unfortunately, any values already stored in the database using timestamp with local timezone datatypes for the affected period of the DST changes won't be correct, i.e. there is no 2010-03-14 02:01 (?) but with older timezone rules in place that would be a valid timestamp. The data has to be saved before updating the timezone file, and re-translated to timestamp w/local tz datatypes after the update.
    IMHO storing literal timezone info isn't an ideal practice, let the client settings do the time interpretation, time is always changing. Its the interpretation of the time that gets changed. From time to time. :(

Maybe you are looking for

  • Replicating GR custom fields from EBP to SAP R/3

    Dear SRM Gurus, We are using SRM 5.0, extended classic scenario.. We have created 3 custom fields for GR in SRM and we want to pass these custom field values to SAP R/3(4.6C). Is there any BAdI or function module to replicate these custom field value

  • S-Video Adapter?

    Hello, I recently became curious about ways to watch and record TV onto my older (2007) imac. I also am interested in maybe connecting my xbox 360 and playing games on my mac's screen. I ddi some research and found numerous ways to watch and record t

  • Burning photos on to DVD from Photoshop Elements 12

    I have successfully copied photos from PSE12 on to a DVD.  I want to use it for a slideshow presentation.  Unfortunately all the vertical pictures come out horizontally on the DVD!  I don't have the option of rotating when I click on properties.  The

  • Get Multiple Rows into internal Table using Webdynpro Alv Display ..

    Hi guys , I need to find out the logic for getting all the selected rows into the internal table. When i display the ALV Output on webdypro screen . USer Selects multiple rows for further processing .. Ineed to get all the rows selected by user into

  • How do you crop multiple pages in Acrobat X Pro?

    I don't see how to do this. I could in Acrobat 9 easily. Thanks in advance. JIP