Time Zone Conversion with out using function and with out alter

Hi All,
I am able to see 1Hr difference in my date fields of SQL output because in UI (User Interface)  date field was stored in BST format but DB time zone is in GMT format so can any one help me to find a solution for 1 hr difference, here i don't have Privileges to alter DB time zone and i couldn't use function as i have so many SQL's and  can't apply that function manually. SO is there any other option to change the DB time zone with out alter it and with out using function.
Thank you Very Much.

Hi,
you need to set time zone in your session, let's do an example :
alter session set nls_date_format='DD/MM/YYYY HH24:MI:SS';
CREATE TABLE USERA.T
  SDATE       DATE                              DEFAULT sysdate,
  WITHOUT_TZ  TIMESTAMP(6)                      DEFAULT sysdate,
  WITH_TZ     TIMESTAMP(6) WITH TIME ZONE       DEFAULT sysdate,
  WITH_LZ     TIMESTAMP(6) WITH LOCAL TIME ZONE DEFAULT sysdate
insert into USERA.T(sdate) values(sysdate);
  commit;
  select * from USERA.T;
SQL> select * from system.t;
SDATE
WITHOUT_TZ
WITH_TZ
WITH_LZ
26/09/2013 11:04:23
2013-09-26-11.04.23.000000
26/09/13 11:04:23,000000 +00:00
2013-09-26-11.04.23.000000
SQL> alter session set TIME_ZONE ='-7:0';
Session altered.
SQL> select * from system.t;
SDATE
WITHOUT_TZ
WITH_TZ
WITH_LZ
26/09/2013 11:04:23
2013-09-26-11.04.23.000000
26/09/13 11:04:23,000000 +00:00
2013-09-26-04.04.23.000000

Similar Messages

  • How Achieve timedseries calculations with out using AGO And ToDate function

    Hi,,
    1)
    How Achieve timedseries calculations with out using AGO And ToDate functionion
    this question asking in interview ..is it possible..?
    if yes please response as soon as possible..
    2) i have 2 cloumns Product and value...
    client requirement is they need ranks based on Value ..in dashboard .using dashboard prompt..edit box...if user enter any number (ex :5 ) report should show top 5 ranks if he enter 20 should be top 20 ranks..
    how to achive this ?
    thanks,
    raj

    Consider yor first question:
    1. Yes, we can create timeseries measures without using AGO and TODATE
    1. Create ALIAS of fact tabe in the physical layer
    2. Join the Time id from the ALIAS fact table with the YAGO_MONTH_ID column from your time dimension table (For calculating Year Ago variants) similarly join with MAGO_MONTH_ID column for Month Ago measures.
    3.Pull the ALIAS tables as an additional Logical table source in the Lgical layer
    4.Keep the mapping of the columns from the ALIAS table as its is
    5. For e.g If you pick Revenue from the Year Ago Alias table it will give you the "Prior Year Revenue"
    See if this helps you

  • Using Functions and/or Graphs with Custom Cell Formats in Numbers

    I am attempting to use the AVERAGE function or create a graph in Numbers for cells with a custom format, however, I keep receiving an error message telling me that "Numbers can't be divided by Zero" or an empty graph.
    The format I am using is for a split time for a certain distance, as in time it takes a runner to go around a track: minute:seconds.milliseconds i.e. 1:56.4
    Is there a solution to the formatting or another way to accomplish having the correctly formatted cell and still be able to use functions and graphs.

    Hi nich.lee,
    You can't chart Duration formatted data without first converting it to another format. Also, you will get an error if you attempt to use the AVERAGE function on an empty range.
    Here's an example of charting Duration data by using a conversion...
    Best regards,
    Jerry

  • Time Zone...When changing date and time.

    After having updated to version 10.6.1, I am still experiencing the same top sites glitch as everyone else. However, is anyone else's time zone graphics funky (missing squares?) and really unresponsive when moving across the earth from side to side?

    For me - I am pretty anal about keeping my camera's time accurate, and I always adjust time on import to the correct time zone if I am shooting in a different area (I live in AZ time, and when I shoot on the east coast i set the time zone to eastern on import). So I doubt I would ever use that feature.
    If you ever do need this feature, be aware that the date and time displayed in the Adjust Date and Time dialogue box are the date and time in the time zone your computer is set to, not the time zone the picture was taken in.
    So if you have a picture taken on the east coast and you open the adjust date/time dialogue, you will see the time for the picture in AZ time (a few hours earlier than the time displayed in the Image Date field). To set the time for the picture, you have to figure out what time it was in AZ when the picture was taken, and enter that time.
    After playing around with this I've filed it as a bug with Apple. Even if they aren't going to let you change the time zone (functionality I think is needed), they should at least consistently use the same time zone with a picture, rather than forcing you to do time zone conversions by hand.

  • How to use functional global with a large amount of variables?

    Hi all,
    I'm currently developping a LV program which control and acquired data from a device. Up to now I used global variables ( very conveniente to use for experimental parameters). But now my program is become to be too large and I have too much "global" variables to continue to use a global.vi.
    I'm wondering if functional global can help me. If someone has an exemple of how use functional global with a large amount of variables...
    thanks

    I agree with Ben.
    Using queues is better than a number of Globals or Action Engines (Functional Globals).  If you need to pass data to a sub-vi, you can simply wire the queue out to a queue control of a sub-vi, or a reference.  See attached example of passing data to a sub-vi using a queue.  The example is an extremely simple, undocumented tid-bit of code that sends the loop count to the consumer VI.
    Run the main program called QueueProducer.vi.
    R
    Attachments:
    QueueProducer.vi ‏18 KB
    QueueConsumer.vi ‏14 KB

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • Just got a new IPAD3, straight out of the box, but I cant charge it, I have tried with the power plug and cable out of the box but no joy, i have tried resetting the iPad but still no joy, have tried different plug sockets, different plugs/cables, help

    Just got a new IPAD3, straight out of the box, but I cant charge it, I have tried with the power plug and cable out of the box that came with it but no joy, i have tried resetting the iPad but still no joy, have tried different mains plug sockets around the house with no joy, I have tried different USB mains plugs but again no joy, I tried using my new iPad cable into the USB port of my MacBook Pro laptop but still no joy, then, I tried using my old iPod classic cable into my MacBook Pro and that worked, so I have a way of charging my new iPad3 but its not practical as i have to take my MacBook Pro everywhere if I want to charge it which kind of defeats the object of having an iPad, has anybody experienced anything similar and how was it fixed? can anybody help me please...

    Grumpy Gator,
    Please note it did say at the store's discretion, but people have actually been able to return it to the on-line store. (I only saw a couple who tried.)
    And given the outcry, I would think Apple might have other Apple stores join in. Just in case, though, if you can, you might bring it in today.
    If it's an ARS, my guess is they can stick to their 14 day return. Apple cannot force them to do it. SO if it's not bought directly from Apple, and it's past the 14 day deal, I'd bring it in to the store today if you have one. When I gave people the cnet.com site, I gave it so people could read it and know only Apple had made the decision for Apple. And I suggested to some that an Apple reseller would probably stick with their own return policy.
    Because Arnie had just bought his, he should be able to return it to Apple or an ARS because an ARS has to have some kind of full refund or at least return for credit within 7 or 14 days of purchase.
    Hope this helps.

  • Generic Extractor using Function module with Complex Interface

    Hi,
    Has anyone created Generic extractor using Function module with Complex Interface?
    What is the difference between Complex and Simple interface in Function module?
    Pls explain.
    Thanks,
    Gopal

    Hi,
    Go through this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    GTR

  • Since downloading Maverick I have a long hang time, computer crashes, can't use word and I can't access finder, why?

    Since downloading Maverick I have a long hang time, computer crashes, can't use word and I can't access finder, why? Also, iTunes is horrible. While I'm listening to my music iTunes will just stop playing the song for at least 5 minutes and I can't force quit why does it do that? This is the first time I have ever felt like my iMac is just as bad as a PC and I wonder if Steve Jobs would have let the program be relase to the public with all the problems involved. No wonder Maverick was free. IT ***** BIG TIME!

    Hello, vanvu. 
    Thank you for visiting Apple Support Communities. 
    Since you are experiencing this issue with both a wired and wireless connection only on your home network and not at other locations, this issue would related to your router.  I would first recommend power cycling the router and testing the connection again.  If the issue persists, try updating your routers settings per the article below. 
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/ht4199
    Cheers,
    Jason H. 

  • When is mozilla going to fire the hate monger homophobic bigot CEO, after everyone stops using mozilla, and you out of business, I deleted all mozilla products.

    When is mozilla going to fire the hate monger homophobic bigot CEO, bred dan Eich? After everyone stops using mozilla, and your out of business? I deleted all mozilla products, from all of my families devices.
    Your company, depends on the younger computer savy user market, and this is how you show your true colors.
    Until this pig is fired, no mozilla products, will ever again be installed on any of my families, or customers devices. I have completely removed all mozilla products from my families devices, and this week will be removing Mozilla from all my customers devices and replacing it with chrome.
    I will make it my personal crusade to diswade everyone I meet from using Mozilla, ever again, or until the is bigot PIG, is fired.
    good bye.

    Brendan Eich, is a BIGOT.
    A HATE MONGER.
    THERE IS NO PLACE IN AN ORGANIZATION FOR CREATURES LIKE THAT.
    NO EXCUSES CAN BE MADE FOR HIS DISGUSTING ACTIONS.
    DEFENDING HIM, MAKES YOU A PARTY TO HIS DISCRIMINATION, AND HATE PURVEYANCE.
    THERE IS NO " DISAGREE OR AGREE", THERE IS ONLY THE FACT THAT HE IS A BIGOT, OR NOT, AND HE SHOWED IT BY MAKING A WILLFUL DONATION TO HARM THE LIVES OF MILLIONS OF LGBT HUMAN BEINGS.
    YOUR DEFENSE OF HIS REPREHENSIBLE ACTIONS SHOWS YOUR TRUE COLORS, WELCOME TO THE BIGOT CLUB, YOU HAVE FULL MEMBERSHIP.
    SCUM BAG.

  • I am creating a slideshow with elements using photos and videos but the video sound doesnt play?

    I am creating a slideshow with elements using photos and videos but the video sound doesnt play?

     Hello jive
         I am playing it back in the slideshow editor/setting up part of
    programme where you determine photos/video to be included gaps between
    slides, music to play etc This goes through each phot and when comes
    to a video the background sound doesnt play, I am using windows 7 and
    elements 10.
         regards gins51

  • Let's say I have a document that is 5 pages long. Now I want to insert the page numbers, starting on page 3 with the number "3" and leaving out pages 1 and 2. How do I do that?

    Let's say I have a document that is 5 pages long. Now I want to insert the page numbers, starting on page 3 with the number "3" and leaving out pages 1 and 2. How do I do that?

    I just found the answer myself. I don't know how to delete my question, so I'll just write the reply to the answer - just in case somebody needs to know: Insert a section brake after the second page and then choose "Start on 3".

  • TS3999 how can i synch the time zone of the icloud in my pc with my iphone?

    how can i synch the time zone of the icloud in my pc with my iphone?

    Hi hmm15761,
    Thanks for visiting Apple Support Communities.
    This article may address your question:
    iCloud: Change your calendar’s time zone
    http://support.apple.com/kb/PH2677
    Best,
    Jeremy

  • VF11 wrongly created with RV Doc type and with not clear status.

    Hi All
    Issue: There are 2 billing documents which were created(VF01) in March are canceled (VF11) in May. Cancel document is saved with a message (No automatic clearing of billing document XXXXXXXXX) and message diagnosis saying that u201CThe Automatic clearing of billing document and reversal is not possible. This may be, for example, because the line item update is deactivatedu201D
      In the SD document flow cancel billing document is created and it's posted to accounting with Document type RV(which is not configured in the billing  types) and it is in not clear status.
    2 Sales order types are ZNRC(No Rebate u2013 Credit)    second is ZCR (CM Req With Refer).
    Order Type  : ZNRC , Billing type :ZG2, Cancel billing type :Z5, Accounting document in billing type for ZG2: is DG and accounting document in cancel billing type Z5 is :(_) blank.
    Order type:  ZCR Billing type :G2, Cancel billing type :S2, Accounting document in billing type for G2: is DG and accounting document in cancel billing type S2 is :(_) blank.                                                
          FI document type Not maintained in the cancel billing type configuration because this should be determine by reversal document type DA which is maintained in DG document type from FI side. It will be triggered in VF11)
    The above configuration is working with the order created VA01,billing VF01 and cancelling VF11 done in same period. If the order and billing done in old period and canceling(VF11) done in current period than FI document creating with RV document type and with not clear status in the document flow.
    I reviewed similar issues with SAP Note and with below explanation:
              "There are 2 procedures that are possible when Vf11 is posted.
              Old Procedure - An FI "Reversal" document was created that was not connected with the orignal.
              New Procedure - A Real FI reversal was carried out with clearing."
    In this case, our system is following with new procedure except above mentioned orders created in previous period and and canceled in current period.
      My Questions are: How the RV document is getting triggered here? why the cancel document (Reversal FI Doc) is not clearing?
         Appreciate your answers or suggestions.
    Thanks in advance,
    Sunil
    Edited by: Sunil kumar Matta on Jun 9, 2011 3:40 PM

    Thank you Ivano.
      I referred SAP note 1259505 and 339928. But initially we thought of none of the symptoms mentioned in the SAP note are matching with our issue. Then we contacted SAP online support and they suggested checking one SAP note (Mentioned above).
      Our system is following new cancellation procedure, but itu2019s failing only for some few documents.
      Finally we identified several reasons for the issue. One is profitability segment in the billing document and cancelled document is different due to some changes in segment assignments. Another one is consolidation- consolidation document does not exist in the billing document list but it is getting created in Canceled document (VF11).(Consolidation postings are switched off some time back and now itu2019s on)
      After some discussions it is decided to include accounting document type (Reversal) in cancel billing types to avoid default RV document type in canceled billing document accounting document. And non-cleared documents need to be created manually in F-32.
      Thread is closed.
    Sunil

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

Maybe you are looking for