How can I change database date/time(Sysdate) without changing OS date

Hello all,
I have a need to change the sysdate on a database for testing purposes and need to set the database date to a future date(ex. 6/30/2009). I have 2 other instances on the same server so changing the OS date is not an option. I'm familiar with setting the sysdate to a fixed value, but doing so changes the date to a constant because I still need the time to elapse. I've searched the forum and cannot find a way to do this. Any help would be greatly appreciated.
Thanks,

Write your own sysdate function in pl/sql and create public synonym.
Sorry, It doesn't work.
create public synonym sysdate from my_sysdate
ERROR at line 1:
ORA-00995: missing or invalid synonym identifierBartek
Edited by: brtk on 2009-05-14 15:54

Similar Messages

  • How can i reformat my external hard drive without loosing any data?

    how can i reformat my external hard drive without loosing any data?

    Welcome to the Apple Support Communities
    It's impossible to format a hard drive without losing the data. One thing you can do before formatting is to copy the files from the external drive to your internal drive, and then, format the external drive. After formatting, copy the files to the external drive again, and everything will be as before formatting it

  • How can I unlock my disabled I phone without loosing my data?

    How can I unlock my Iphone 3GS without loosing my pics, contacts and music?

    iOS: Device disabled after entering wrong passcode - Support - Apple

  • How can i sync my iphone with itunes without erasing its data?

    my computer crashed and i had to reinstall my windows,now i want to sync my iphone with the new itunes(with the same apple id) but it says all data should be erased from the device....is there some way to sync the iphone without the data being erased?

    Hello, I had this problem A few times. But there isn't A way I know. Keep the music on your computer and add them back after is what I do.

  • How can I get my YouTube app back without losing my data?

    So I just got the iOS 6 update for my iPad 2. After the downloading was done I wanted to look something up on YouTube. But when I went to look the app was gone. I couldn't find it in the search or anything. Can someone help me get it back?

    It might but like all iPhone apps on the iPad. It will come in small in which case I would have to enlarge it and if you enlarge it the picture gets more blurred. Do you have a better idea? No disrespect intended

  • I have bought a german card and i have a dutch ipad dutch store, how can I make use of my card without changing to a german store

    I have bought a German card for the app Store, but I have a Dutch Ipad. Nobody tells you that you have a problem.
    I assumed that Apple was international and that cards bought in different countries were no problem and you could use them anywhere.
    Sofar for Apple. I did not expect this from such a big firm. so what am I to do. I can't get my money back, no help from Apple non what so ever.
    APPLE, THIS IS A BIG MISTAKE. I DO NOT RECOMMEND BYING CARDS ITUNES.

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    All iTunes cards are country-specific, and can only be used in their country of issue - those that I've bought here in the UK say on them that they are only valid in the UK store, does the card that you have say similar ? Do you know anybody in Germany that you could sell or give the card to ?

  • HT1766 i never backed up my i phone in itunes neither in i clouds. my phone is stuck in apple logo. Any body know how can i turn in the i phone without loosing my datas?

    Hy guys, would you please help with my problem. If anyone knows the solutions, please help me out.

    It's too late to save any data on the device now.  For what silly reason would anyone choose to not backup their device?

  • How can I make an imported image smaller without changing the size of the canvas?

    After downloading some free icons, I used the drag and drop method to bring the icon of my choosing onto a blank canvas that is 313x188 pixels. The image is larger than I need it to be, so I need to make the image smaller while keeping the canvas size at 313x188 pixels. I've tried several things after googling it, but have not had any luck. Help; I'm still learning! Thanks in advance!

    ctrl/cmd-T will bring up transform. Then just drag the handles to size it - hold the shift key to constrain the aspect ratio.

  • How can I move (copy) my Time Capsule date to a new 2T hard drive and then wipe the TC and start as a new (clean) Time MACHINE backup?

    How can I move (copy) my Time Capsule date to a new 2T hard drive and then wipe the TC and start as a new (clean) Time MACHINE backup?

    Just use the archive utility on the disk page of the airport utility manual setup..
    If you have lion and v6 airport utility.. it missed out. On lots of things.
    Download and install the real.. UTILITY
    5.6 http://support.apple.com/kb/DL1482

  • How can i ensure that the time capsule back up all my data?

    how can i ensure that the time capsule back up all my data and no any data missed during the back up? becz i was backing up my mac to time capsule for the first time and it takes only 5 hourse for 279GB which is doesnt make sense
    any idea, how to ensure that all my data been backed up

    well this tells you why you are having issues.. since you have a filevault and unless you are logged on as that user TM has no way to backup the vault.
    so that is why the backup is so small.
    And you cannot remove the file vault because the disk is too small.. you are in catch 22..
    You cannot backup and you cannot remove the vault..
    Login as the user who has the file vault and copy the files off the computer to a directory on the TC.. Then just delete the files on the computer.. that will then allow you to remove the file vault.
    But never  will I ever use file vaults so I am being theoretical .. please read it up yourself.
    http://pondini.org/TM/25.html
    You are not doing the background reading you need to understand what you are doing..
    read the whole of pondini's info.. or at least skim it so you know what is there.
    Avoid like the plague file vaults..
    When disks go belly up, as they always do.. your files will be lost. Somewhere they need to be stored in the clear.. so why bother .. put better security on the computer and forget vaults.

  • HT3275 how can i retrieve information from  time machine if my computer has less storage capacity? How can I access data that is on my time machine but can not be copied to a computer with less storage capacity? I used to have 180 GB, now I have 128 GB.

    how can i retrieve information from  time machine if my computer has less storage capacity? How can I access data that is on my time machine but can not be copied to a computer with less storage capacity? I used to have 180 GB, now I have 128 GB.

    Plug an external drive into the computer and use that to expand data onto.
    http://pondini.org/TM/16.html

  • How can i actived mu id apple? i change my pasword 3 times and it still donsent qwork

    how can i actived mu id apple? i change my pasword 3 times and it still donsent qwork

    Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password.
    Select  ▹ Restart from the menu bar.
    You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • How can I restore photos from Time Capsule/Machine w/o getting lots of duplicates?

    Hi All,
    I recently "lost" some photos and tried going into Time Capsule/Machine to restore them.  I went to applications, opened Time Machine, got the "Star Wars" like screen, scrolled to the appropriate date (I thought), clicked on that date, went to my user name, clicked on Pictures and then clicked on iPhoto Library.  It asked me if I wanted to create a copy called iPhoto Library2 and I said yes. 
    Next I clicked on restore and it began restoring my iPhoto Library from that day.  Unfortunately it created copy after copy after copy of each photo, hundreds!!  And it broke down each photo into faces. Again and again and again. Bottom line is that since I must have picked the wrong date my pics weren't there.
    I decided to delete iPhoto Library 2 and there were some 130,000 items to delete.  Then it took about 24 hours to secure empty my trash.
    So my question is how can I avoid this next time?  I really want to get these photos back but am afraid to try it again.
    Thanks in advance for any advice!  They are of my 19 year old niece's visit to Australia so the pressure is on!
    Kindest regards,
    Becky

    You might post this query on the iPhoto forum and perhaps someone there can provide an answer.
    I tried this on my MBP and it seems that you have to restore the entire iPhoto Library.  What I did was put the current library in a separate folder on the desktop and then I restored the library from a prior date.  If you were to do that, you then could extract the desired photos and then delete the restored library.  Then place the current library back to the original location and import the desired photos.
    Not tidy but it seems it will work.
    Ciao.

  • How can I get iCal not to show the same birthday dates from my iCloud

    How can I get iCal not to show the same birthday dates from my iCloud?

    You don't need them stored locally for a backup. You can manually export your contacts as archive for backup. Also, if you are backing up with Time Machine, you already have a backup. If your hard drive crashed, you would have to rely on your backup or iCloud anyway.
    So, if you're comfortable with that, sign out of iCloud. Choose to delete contacts from the computer. When you sign back into iCloud, you should only have iCloud contacts listed in AB. When you open iCal, you should only have one listing for birthdays.
    The other alternative is to disable the Birthday c.alendar and create one manually.

Maybe you are looking for

  • Structure copy in BEx query Designer?

    I created structure in BEx Query Designer in BI PRD which is our BI production system. I'd like to copy structure to BI DEV which is our BI development system. Is is possible? If you have any solution, tell me about that. Thanks.

  • How do I use two iphones with one itunes

    My wife and I are using iphones. Unfortunately we got only one Windows PC. How do we set them both woth our own emails because everytime it is set now, she sync to my emails.

  • InDesign CS6 on Mac OSX 10.9.3 crashes on startup

    Hello out there I have a problem with InDesign CS6 on Mac OSX 10.9.3 and I'm really desperate right now... I've installed the CS6 Master Collection some days ago.. all programs (f.e. Photoshop, Illustrator, After Effects) are working fine, but InDesi

  • Why do I get a windows error every time I stop or close an executable?

    Whenever I run an executable in any windows computer it runs fine but as soon as I stop or shut down the executable, I get and a windows error. The program that I have reads from compact Fieldpoints and processes those data. Once you close or stop th

  • Sound Problem in Compaq Presario CQ40-108TU

    I've Transcend 2GB DDR2 667 memory and put it in my laptop (Compaq Presario CQ40-108tu). It read the whole 4GB memory coz I'm using Windows Vista Ultimate 64-bit but it doesn't have an audio. I've try to troubleshoot it, first try it with only 2GB me