Topic: SQL*Plus and PL/SQL >> Database timezone
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| muzu |
Posted: Aug 17, 2007 04:03:47 AM |
Total Post: 37
Joined: Aug, 2007
|
1)How to change the database timezone (not session time zone) for a particular session using alter session statement ?
2)The oracle database stores all the date and time component information in it.
But while querying the current_date it displays only the date without the time information.
How can extract function be used with the current_date to extract the time information from it ?
|
|
|
Ramesh Joyisa |
| Posted: Aug 17, 2007 05:24:56 AM | |
|
Total Post: 246
Joined: Aug, 2007
|
Alter session will change parameters to that session. To get the time you can use format functions like to_char and give the format in which you want the output
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|