Results 1 to 3 of 3

Thread: View database timezone name

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    1

    View database timezone name

    How to view the database timezone name?

    I want to see my current timezone for my database i.e not in the format 'TZh:TZm' intead I want in the format e.g. 'Asia/Calcutta'?

    Plz give me the data dictionary query or any other commands help.

    Regards
    Kishore


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: View database timezone name

    What is the database that you are using and which version ?


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: View database timezone name

    Quote Originally Posted by kishore.giri View Post
    how to view the database timezone name? i want to see my current timezone for my database i.e not in the format 'tzh:tzm' intead i want in the format e.g. 'asia/calcutta'? plz give me the data dictionary query or any other commands help. Regards kishore
    u can find out the database time zone by usinng
    select dbtimezone from dual
    u can also alter the database time zone by
    alter database set time_zone='asia/calcutta';

    the alter database set time_zone statement returns an error if the database contains a table with a timestamp with local time zone column and the column contains data.the change does not take effect until the database has been shut down and restarted.

    u can change session time zone by following comman alter session set time_zone='asia/hong_kong';

    Last edited by susarlasireesha; 12-31-2007 at 06:00 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact