Strange date issue..

Hi Guys,
I am currently on 9206 on the server and using 9201 client from my PC. I get two different results when i execute the statements..
On server on the same database i get :
SQL> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
2And when run on my PC via SQL plus to the same database, i get :
SYSTEM@xchdev1> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
1
Elapsed: 00:00:00.00
SYSTEM@xchdev1> Any idea what could be the reason ?
Thanks in advance
G

Not really strange, since this is NLS_TERRITORY dependant, so session config dependant .
Under SQL*Plus from a client machine :
SQL> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
1
SQL> select * from v$nls_parameters where parameter like '%TERR%';
PARAMETER
VALUE
NLS_TERRITORY
FRANCE
SQL> alter session set nls_territory = 'AMERICA';
Session altered.
SQL> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
2
SQL> Under SQL*Plus from server box :
SQL> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
2
SQL> select * from v$nls_parameters;
PARAMETER
VALUE
NLS_LANGUAGE
AMERICAN
NLS_TERRITORY
AMERICA
SQL> alter session set nls_territory = 'FRANCE';
Session altered.
SQL> select to_char(to_date('15-MAY-2006'),'D') from dual;
T
1HTH,
Nicolas.

Similar Messages

  • Strange performance issue with 3510/3511 SAM-FS disk cache

    Hi there!
    I'm running a small SAM-QFS environment and have some strange performance issue on the disk storage part, which somebody here might be able to explain.
    Configuration: one 3510, dual controller, RAID-5 9+1, one hot spare and one disk not configured for whatever reason. The R5 logical drive hosts a 150GB LUN for SAM-QFS metadata (mm in SAM-FS speak) and a 1TB LUN for data (mr in SAM-FS speak). Further, there are two small LUNs (2GB, 100GB) for some other purpose. Those two LUNs have nearly no I/O. All disks are SUN146G. Host connection is 2GBit, multipathing enabled and working.
    Then the disk cache became too small, and the customer added a 3511 expansion unit with SUN300G disks. One logical drive is a RAID-1, 1+1, used for NetBackup catalog. The other is a RAID-5, 8+1, providing two LUNs: 260GB SAM-FS metadata (mm) and 1.999TB SAM-FS data (mr).
    For SAM-FS, the LUNs form two file systems: one "residing" in the 3510, the other "residing" in the 3511 expansion. Cabling is according to the manual and checked several times by several independant people. Operating system is Solaris 10, hardware is a V880.
    The problem we observe: SAM-FS I/O on LUNs on disks inside the 3510 is fine. With iostat, I see 100MB/s read and 50MB/s write at the same time. On the SAM-FS file system which is running on the two LUNs in the 3511, the limit seems to be at 40MB/s read/write. Both SAM-FS file systems are configured the same in regards of block size.
    In case I have activity on both SAM-FS file systems, I see 100MB/s+ on the LUN running inside the controller shelf and another 40MB/s on the disk runnin in the 3511 expansion chassis. So, the controller is easily capable of handling 150MB/s.
    Cache settings in the 3510 controller are default I think (wasn't installed by me), batteries are fine.
    Is this 40MB/s we experience a limitation by the expansion shelf? Don't think so. Anybody has any ideas on this? What parameters to check or to change? Any hint appreciated. I can also provide further details if needed. Thank you.
    wolfgang

    SUN300G disks sound like 300GB FC disks.
    Depending on how many files are in the SAMFS file system, sharing the mm and mr devices on the same RAID array can be a pretty horrible idea. In my opinion and experience, it's almost always better to NEVER put more than one LUN on a RAID array. Period. Putting more than one LUN on an array results in IO contention on that array. And large, unnaturally configured (9+1? Why?) RAID arrays will have problems from the start.
    What are the block sizes used on the RAID arrays? It wouldn't surprise me to see that the RAID array on the expansion tray has a very large block size. Larger block sizes are, in general, not better. Especially for SAMFS metadata - which IIRC is something like 8k or 16k blocks.
    I suspect what is happening is most of the metadata updates are going to the mm device on the new array, contending with the IO operations on the file data.
    How much space is left on each mm device? What does "iostat -sndxz 2" show when you're having the IO problems?

  • Strange import issue .. no longer works in 2.6 or Beta 3

    Strange import issue.
    I use LR-2.6 everyday but have only played around with the LR-3 for a limited amount of time so the other day I decided check it out and tried to import a handful of RAW(canon) files on a SDxc-8g card via a USB card reader. I set it up to copy and convert to DNG, apply a few keywords and Metadata but when I tried it acted like it imported the first image and then froze. Card reader lights stopped blinking and just stayed on, program task bar doesn’t show any progress, not even for the first image. I then went to the folder that I was going to have the images copies to and it contained a file of the first image, but there is no indication that LR-3 even created it and it doesn’t show up in the catalog. When I tried to close out LR-3 is popped up the “in the middle of a task warning” so I just closed the program and tried it a couple more times to no avail.
    So I though o well I will just open up LR-2.6 and import them from there, guess what now LR-2.6 does the exact same thing!!
    I thought maybe my card reader was a POS but I was able to drag all the files to a new folder on my desktop and import them from there, nope. Tried rebooting a couple times, even opened a new catalog to test with, in both LR-2.6 and LR-3 and neither will work..
    I am stumped any ideas?

    Thank you for everyone's assistance
    I actually figured out what the problem was, like most issues it comes back to operator error, it seem I had inadvertently chose a "rename file on import" template that I had set up to name the files based on a custom fill-in field in the Meta Data, I normally only used that template when I was exporting images that had been completely edited, so being these images were new imports that field was blank, hence it would import the first image and then do to " don't import subjected duplicates" being checked it would just stop the import process.

  • Repeat delta data issue

    Hello guys,
    I have a strange issue here. I load say ODS2 from ODS1. When trying to load ODS2 one day, i find and issue and the load is turned red. When i executed the delta IP again, it asked for the repeat of the delta, for which i said yes. I did not delete any datamart status from ODS1. This repeat got me double records than the original request, and now i have doubled records in ODS2. Since ODS2 is on addition, the doubling data issue. Does anyone had this problem? Why the repeat of delta updated double the number of records than what it shud be? will be great if anyone can come up with a clarification.
    Regards
    Sriram

    Hi Sriram,
    At First you need to Delete the Request from ODS2,
    Question is which request should be deleted. answered below.
    In ODS1 --> Note the Request where Repeat of delta has occured. Check the datamart Request  of that Repeat Request. This datamark request clearly shows that At what request in ODS2 its updated.
    Now your job step by step as below:-
    1. Delete request in ODS2 (Please note :request which you had taken in the datamart of ODS1).
    2. Delete the Datamart of the ODS1 at the Repeat delta request.
    3. Delete Request of ODS1(till where you had removed the datamart for this ODS)
    4. Go to reconstruction tab and reconstruct the request which are correct (eliminate failed request)
    Please note:- please reconstruct one(1) request and then datamart. Once you do this you will come to know the logic behind.
    5. Then Datamart to ODS2.
    If its complicated to understand, please call call me
    Thanks
    Regards
    Hari

  • Data Issue

    Hi All ..
               We are facing one data issue DSO.  One record is worngly loaded with some project iD ( Ex record is having ID GE1234 insted of having LE4423) remaining details are same . we are loading the data furtherly to master data table from the DSO. if i try  for reporting for project id LE4423 ,information not avilable because it is heaving wrong ID,it is key also.But in the Source system (CFG) side Data is correct with ID LE4423.
             In update rule we are following one to one mapping for all infoobjects.My requirement is i need to have in my DSo LE4423 . I need to overwrite the record id GE1234 with LE4423 without affecting other fields in the record.
            Shall i load till PSA with the ID LE4423 ..then if load this single record to DSO will overwrite the GE1234 by choosing other field as key field.  but we are following one to one mapping in update rule.
    Please help me on this. i need to hev a correct id for record.
    Thanks ,
    Prem.

    You can use selective deletion to delete the record with Project ID = GE1234
    Load the data till PSA
    Load the data to DSO using selection Project ID = LE4423 in DTP from PSA.
    check in further data targets also for mismatch of data
    Hope it helps,
    Naveen Vytla
    Edited by: Naveen Vytla on Nov 18, 2008 10:49 AM

  • Custom report -Mb51 -EBELN,AUFNR,KDAUF & KUNNR -Data issues

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

  • Consistent Data Issues Even After Replacement

    I don't know whether to blame the phone or the ice cream sandwich update for all the problems I have been having with my RAZR. When I first got it six months ago it was great and I loved it now after the ice cream sandwich update I dont really like it anymore. I never had any sort of issues while using it on gingerbread. Today, I have seen my phone switch constantly between 3g and 4g more times than I can count over the course of half an hour. I couldn't even get a consistent signal to watch a 3 minute youtube clip.
    First off, I updated it to ICS but first wiped the phone clean including cache, etc. So it would have basically been a clean install. Now, I have certain issues. The 4g and 3g switch is terrible. On the street and in my own house I have had the same thing happen. In my house I get anywhere from 3-5 bars of 4g but it still switches over to 4 bars of 3g. I have even seen it switch from 4g to 3g when I had full bars. I have already replaced the sim cards, but I am still having these issues. It's actually happening on all 4 of my RAZRs on my family plan. I have gone through the network resets where I pull out the sim card and for 30 seconds, insert it, power on the phone, etc. I went through all 4 of them with the Rep over the phone. I have also had several instances where I did not have data but signal bars and then I didn't have absolutely anything at all. I live in a "major" city metro area, Boston, and I can't believe I am having these problems.
    At first I would have gone off and blamed Verizon, but it is definitely not Verizon, it is our phones that are terrible. I can confirm this because my brother uses an ipad (4g Verizon) on a separate account and he consistently maintains 4g even though I have seen it go as low as two bars. Yes, I understand the ipad is a different device and may have a different radio, but that is exactly how our phones used to work on gingerbread. I received a replacement device and I am still having the same issues. Also, the headset speaker, not the speaker on the back, or receiver is really tinny during phone calls even with the in call volume down half way. It is really annoying and the little tone that plays after hanging up makes the speaker sound like its about to blow out. I don't know what to do if the RAZR will keep having data issues because this is absolutely ridiculous. I know i'm not entitled to anything but for $310 a month I mean come on, I just want my phone to work properly. As I am typing this now, I have witnessed my phone switch between 4g, 3g, and no signal at least 5 times and of course my brother's iPad on Verizon has kept its 4g signal.

    Thanks for all the suggestions, but they just don't work at all guys. I've even tried that restore connectivity app from Motorola, but of course it didn't work. I don't like that I keep having constant switches between 3g,4g, and no signal bars. It's awful thats just what it is. I feel like I got gipped with this update promising better user experience. If the darned thing can't connect to their network, then what is Verizon doing to address these issues? Every time I try to do something "data intensive" (i.e. youtube, facebook, twitter, etc) the data signal just drops and I'm either left with gray bars and no data or no signal bars whatsoever. Also one thing that annoys me to death with this phone is that I have it sitting in my pocket after I lock the screen and I go to pull it out of my otherwise empty pocket. The screen is turned on by itself (I have the clear silicon case on it so the power button shouldn't be pressed by itself and no I don't wear skinny jeans), its got 3g and no bars, and its piping hot.
    WHAT IS WRONG WITH THIS PHONE VERIZON???!!!

  • Master data Issue  ---   materials have unassigned or # values ...!!

    Hello Experts,
    I am facing an issue that the Customer Data is missing in a BEx Report.
    Data Flow is   2LIS_13_VDITM  --> DSO1 --> Merging DSO -->  Cube --> Multiprovider --> Bex Report.
    Exact issue is Customers in the Bex Report  has unassigned to Sales Office, Sales Group, Sales District.
    The only reason a customer should show up under u201Cunassignedu201D or u201C#u201D is if itu2019s improperly set up in the system.
    customers are assigned with two values. one which has data and the other which has unassigned value.
    I wanted to know, how do i check if the matierials are valid to have unassigned Values ?
    Checked the Merging DSO and saw that there are actually values assigned values for the affected matierials.
    After that checked the Cube data values are displayed except the Master Data values.
    I guess..its completely related to Master data. I would like to know how can i resolve this issue.
    Please reply me if you face this kind of master data issue in your expeiriance.
    Thanks,
    SN.

    Hi,
    Are Sales Office, Sales Group, Sales District are attributes of Customer?
    In case they are, then the customers will be unassigned to Sales Office, Sales Group, Sales District in case the data for these attributes is loaded to the customer attributes.
    and also check if the customer characteristic is properly assigned in the multiprovider.
    Check if it helps.
    Regards,
    Joe

  • OBIEE 11g .0d date issue

    Hi,
    I create an initialization block to populate a couple of repository variables.
    After saving the RDP the value for the default initializer changes from 2011 to 2011.0d
    I have been using several workaround. But I need some permanent fix in rpd itself. Can anyone point to some Oracle Document? Is this issue been resolved in latest release of OBIEE. I am using 11.1.1.6.6.
    Workaround Ref : The .0d date issue
    Re: OBIEE 11.1.1.6.2 BP1 Repository Variable data type

    Have you gone through my suggestions at the below links?
    The .0d date issue
    Re: OBIEE 11.1.1.6.2 BP1 Repository Variable data type
    You have to do it where ever you are using that rep. variable not in the init block.

  • Verizon mades changes in the coding and now Windows Phone 7 is having data issues!!!

    Starting about 3 weeks ago, I stopped receiving text messages and even worse stopped receiving calls yet alone my voicemails.  I have changed not one thing to my phone, everything is exactly the way it was before the issues arised.  Now I have to trick my phone to receive my data by dialing into my voicemail...  And then what do you know, 30 text mesages, 12 voicemails!!!
    The voicemails wont even tell you the date or time stamp (the time the voicemail was received).  After numerous *228 and talking with level 2 over the holidays, I see a huge article on multiple news sites stating Verizon is having data issues...  Dropped calls, loss of data, no signal while all our phone keep showing full bars and 3g.  Verizon stated its only happening on there 4gLTE system and not 3G but thats a load of crap.
    All one has to do is a google search of loss of text messages or voicemails on Verizon and you will see 100's up to 1000's of users like you and me all experiencing the same issues.  And not just with Windows Phone 7, but with there baby Driod and iPhone as well.
    What really ****** me off is that Verizon loves to play the blame game or pass the buck game.  Hard Reset your phone and that will solve the problem...  Yeah Right.  If this was our OS and we updated a driver that changed the OS in the background I can see that being the solution.  But for the 100's or 1000's of users that go to work daily, check there emails and text daily, and haven't changed one thing on the phone... THIS IS UNACCEPTABLE!!!
    Now I read an articile for someone extermely close to Microsoft stating that Verizon turned down Nokia's new 4GLTE phone because they have no faith in the operating system and I have to think that maybe behind the scenes Verizon is trying to force us off Windows Phone 7 platform with data issue behind the scene and try to get us all into the Droid Platform which they make 50% of the cash off the phone just like the iPhone...
    This is a joke, and I am really starting to think about going to ATT and getting the HTC Titan or the new Nokia 900.  I have already research a 3 party app that will allow you to backup and restore your phone.  And just read that Microsoft just put out an ad for backup, restore and cloud backup programmers for this latest feature.
    Verizon the games need to stop, Verizon you need to stand behind this Platform, Verizon you need to provide better service for all us 3G users!!!
    TheJester77

    Starting about 3 weeks ago, I stopped receiving text messages and even worse stopped receiving calls yet alone my voicemails.  I have changed not one thing to my phone, everything is exactly the way it was before the issues arised.  Now I have to trick my phone to receive my data by dialing into my voicemail...  And then what do you know, 30 text mesages, 12 voicemails!!!
    The voicemails wont even tell you the date or time stamp (the time the voicemail was received).  After numerous *228 and talking with level 2 over the holidays, I see a huge article on multiple news sites stating Verizon is having data issues...  Dropped calls, loss of data, no signal while all our phone keep showing full bars and 3g.  Verizon stated its only happening on there 4gLTE system and not 3G but thats a load of crap.
    All one has to do is a google search of loss of text messages or voicemails on Verizon and you will see 100's up to 1000's of users like you and me all experiencing the same issues.  And not just with Windows Phone 7, but with there baby Driod and iPhone as well.
    What really ****** me off is that Verizon loves to play the blame game or pass the buck game.  Hard Reset your phone and that will solve the problem...  Yeah Right.  If this was our OS and we updated a driver that changed the OS in the background I can see that being the solution.  But for the 100's or 1000's of users that go to work daily, check there emails and text daily, and haven't changed one thing on the phone... THIS IS UNACCEPTABLE!!!
    Now I read an articile for someone extermely close to Microsoft stating that Verizon turned down Nokia's new 4GLTE phone because they have no faith in the operating system and I have to think that maybe behind the scenes Verizon is trying to force us off Windows Phone 7 platform with data issue behind the scene and try to get us all into the Droid Platform which they make 50% of the cash off the phone just like the iPhone...
    This is a joke, and I am really starting to think about going to ATT and getting the HTC Titan or the new Nokia 900.  I have already research a 3 party app that will allow you to backup and restore your phone.  And just read that Microsoft just put out an ad for backup, restore and cloud backup programmers for this latest feature.
    Verizon the games need to stop, Verizon you need to stand behind this Platform, Verizon you need to provide better service for all us 3G users!!!
    TheJester77

  • Data issue in IDOC

    Hi Experts,
    I do the following steps to generate IDOC for Passing over payroll data to ADP.
    I run the payroll and Run the coombined Payroll export and go to WE05 to chk for idoc.
    I have some data issue here. I need the IDOC to Pick 0167 infotype information. For few employees if does generate but for few it does not generate the info in IDOC. Please help me as to how to navigate this problem as iam very new to payroll and as weel as IDOc's.
    Thanks
    Chowdary

    Hello,
    Please try your luck with this.
    Go to BD87 see the error message why this idoc is not moved. some time retrying will you success.
    else also you find the problem in the error message.
    thanks

  • Date Issue

    Hello,
    I am a little stuck on a date issue. I need to calculate something like this for a selection criteria formula:
    I need to return this:
    Today is CurrentDate (11/8/2011) - therefore I want to return or calculate next Sunday 11/13/2011 then add 6 days to
    11/13/2011 - 11/19/2011
    So, in English I'd need
    > 11/8/2011 (CurrentDate), find Next Sunday's date (11/13/2011) add 6 days to next Sunday's date (11/13/2011) to get 11/19/2011

    dayofweek(currentdate)
    will give the the day number of the date (1 is Sunday)
    You can use this to generate the dates you need.
    For instance,
    if dayofweek(currentdate)=2 then currentdate + 6
    will give you the next Sunday's date
    Debi
    Edited by: Debi Herbert on Nov 8, 2011 11:44 AM:
    Sorry Ian, I guess was working on this the same time you were. I was just a little slower than you (I had to look it up in my master report of formulas)

  • Date issue in processing billing documents that shipped in a prior period

    Date issue in processing billing documents that shipped in a prior period that is now closed:
    SAP values those deliveries with the current document date in A/R when it should be the original delivery date.  Baseline date needs to stay the delivery date, but is getting copied from the billing date in the new period.  A user exit exists (& needs to be applied) to manipulate the baseline date when the accounting document is being created.
    Any input is appreciated.

    Hi
    Try with Invoice Correction Request concept
    Sale document Type: RK
    Reference Document Type : Billing Number
    for Understanding the Invoice Correction request check below link
    [Creating Invoice Correction Requests|http://help.sap.com/saphelp_46c/helpdata/en/dd/55feeb545a11d1a7020000e829fd11/content.htm]
    Regards,
    Prasanna

  • Overlap date Issue 0hrposition_attr

    Hi
    I'm facing one records overlap date Issue with 0hrposition_attr.Out of 4  records one records i'm getting as start date as future date and end date as past date.I checked in the source i did not see such records.Due to this issue the records are not updated in the target.But i did not notice such issue with 0hrposition_Text  and 0HRPOSITION_CCTR_ATTR load went fine with out any over lap.
    Eg:
    POSITION          VALID FROM          VALID TO
    12345678            04/01/2014            04/20/2014
    12345678            04/21/2014            04/24/2014
    12345678            04/25/2014            04/24/2014
    12345678            04/25/2014            12/31/9999
    I debug  but i did not see any issue,So there any way that  i can delete that particular  records at PSA level so that loads went successful.I attacdshed the document for better idea.
    Regards
    Raj

    Hi,
    only these record is getting the problem and all records.
    check the one record at RSA3 for testing purpose same record check in BW side.
    if you getting like this not problem you can check the only latest record
    12345678       
    04/25/2014       
    12/31/9999
    put the filter at VALID TO data 12/31/9999 and form date 04/25/2014.
    you want lookup the code just add the one more point.
    WHERE POSITION = RESULT_PACKAGE- 0POSITION
         and DATETO = '99991231'.
    it will pick the only latest record.
    Thanks,
    Phani.

  • VPD date issue between 10.1 and 10.2 databases

    I have uncovered an issue today with VPD against date fields. The issue came up at a client site on a 10.2 database. When I got back to the hotel and tried this on my own database, which is 10.1, I got no issue and everything worked ok.
    Therefore, I am asking if anyone is able to try out the following for me on different Oracle databases and platforms and let me know whether it worked for you or not. I'd like to compile a list of database versions and platforms on which the issue occurs.
    Step 1: create this table as a user
    CREATE TABLE TST_DATE AS (
    SELECT 1 PERSON_UID,
    Trunc(SYSDATE) BIRTH_DATE,
    To_Char(Trunc(SYSDATE), 'DD-MON-YYYY') CHAR_DATE,
    123456 TAX_ID,
    'Smith, Michael B.' FULL_NAME FROM dual);
    Step 2: grant select rights on the table
    GRANT SELECT ON TST_DATE TO PUBLIC;
    Step 3: switch your login to SYS and run this script:
    CREATE OR REPLACE FUNCTION F_CHECK_ITEM_TST(p_object_schema in varchar2, p_object_name varchar2)
    RETURN VARCHAR2 IS
    V_PREDICATE VARCHAR2(2000) := '1 = 2';
    BEGIN
    RETURN(V_PREDICATE);
    END F_CHECK_ITEM_TST;
    Step 4: As SYS, run this to grant access rights over the function
    GRANT EXECUTE ON F_CHECK_ITEM_TST TO PUBLIC;
    Step 5: As SYS, run this to enable the policy
    BEGIN DBMS_RLS.ADD_POLICY(
    OBJECT_SCHEMA => 'DRAKE',
    OBJECT_NAME => 'TST_DATE',
    POLICY_NAME => 'SecByTST',
    FUNCTION_SCHEMA => 'SYS',
    POLICY_FUNCTION => 'F_CHECK_ITEM_TST',
    STATEMENT_TYPES => 'SELECT',
    POLICY_TYPE => DBMS_RLS.DYNAMIC,
    SEC_RELEVANT_COLS => 'BIRTH_DATE',
    SEC_RELEVANT_COLS_OPT => DBMS_RLS.ALL_ROWS);
    END;
    Note: in the above policy change the OBJECT_SCHEMA name to be the name of the user who owns the table you created in Step 1
    Step 6: Go into Discoverer Admin and import the table as a new folder.
    Be sure to uncheck the "Date hierarchies" box and set "Default aggregate on data points" to detail. Grant access to any user.
    Step 7: Using Desktop or Plus, log in as that user then try to query the folder with the date not included, there should be no problem.
    Step 8: Now try to query with the date included
    On my 10.2 database I get ORA-24334: no descriptor for this position. This happens when logged into Discoverer as the table owner, EUL owner or any other user. However, when logged into Discoverer as SYS which is exempt from all VPD policies, there is no error when the date is included.
    We tried this in Discoverer Desktop, Plus and Viewer with the same results in all three. We can successfully query the table from SQL*Plus, SQL Developer and TOAD.
    There also seems to be no issue at all with the 10.1 database so there seems to be an issue between Discoverer and the 10.2 database.
    What do you think?
    P.S. to cancel the policy use this script when logged in as SYS:
    EXEC DBMS_RLS.drop_policy(
    OBJECT_SCHEMA => 'DRAKE',
    OBJECT_NAME => 'TST_DATE',
    POLICY_NAME => 'SecByTST');
    This same information is available on my blog in a more readable format here:
    http://learndiscoverer.blogspot.com/2006/12/vpd-date-issue-between-101-and-102.html

    Hi Rod
    Well don't you just love Oracle. Obviously, whatever tests were done for certifying Discoverer against the 10.2 database did not include checking VPD policies. This merits a blog entry from me.
    Your workaround for V_PREDICATE VARCHAR2(2000) := 'BIRTH_DATE=TO_DATE(''01-JAN-0001'')'; works. However, I had to write a new function to do this because my real function was trapping about a dozen items at the same time, some dates, some numbers and some varchars - exactly the way that the Oracle example code shows it in the 10.2 database manual.
    So what I did was to create a new function that only handles dates and added a dedicated policy that works with only that function. Unfortuately, because I have many dates to manage, I was unabe to hard code the BIRTH_DATE so here is what I did:
    V_PREDICATE VARCHAR2(2000) := 'SYSDATE = TO_DATE(''01-JAN-0001'')';
    This works perfectly and Discoverer stopped complaining. It just has two policies on the same table for different data items. Isn't VPD cool? I'm hooked.
    I really appreciate your time and effort on this. Now, let's see what Oracle support make of the issue because I raised a service request last night. No reply yet I'm afraid.
    Best wishes
    Michael

Maybe you are looking for

  • HT5312 how or where do i go to to find out how to set a rescue email so i can reset my security questions

    i forgot the answers to my security questions for my itunes account on my computer and now i can buy anything can somone just tell me how to do the rescue email I read the thing that itunes sent to my but does not tell you how to to set a rescue emai

  • Digital Asset Management and FCP

    I am trying to find a reasonably priced piece of software to allow me to create a keyword searchable database for video (P2 style and others), and Photos, as well as some other hard assets where I can type a keyword and find, as well as view, all ass

  • Sorting selected cells

    When i have several cells selected, i only want that selection to be sorted... that is very crucial to me, for many of my old sheets from AppleWorks have tables and on the right hand top, some statistical overviews. what happens now is when sorting t

  • Putting music onto iphone

    Since i did not buy all my music from Itunes i can not put it onto my iphone. Is there a way to access my music from my iphone in a folder on the computer and drag my music there that way? If not, how am i supposed to put my music onto my iphone?

  • Modifying MinionPro

    Hi all, a customer of ours uses the MinionPro heavily for his productions. He uses the complete family No it seems that something has changed in InDesign 4 or 5. Our customer plans to change tfrom older CS versions up to 3 to  CS5, but e.g. the OT-ca