Topic: SQL*Plus and PL/SQL >> Difference between SYSTIMESTAMP and
|
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.
|
|
|
|
| Title: Difference between SYSTIMESTAMP and |
| shake |
Posted: Sep 04, 2008 06:29:59 AM |
Total Post: 85
Joined: Jun, 2008
|
select systimestamp from dual;
select current_timestamp from dual; |
|
|
shake |
| Posted: Sep 04, 2008 06:31:52 AM | |
|
Total Post: 85
Joined: Jun, 2008
|
What is the difference between SYSTIMESTAMP and CURRENT_TIMESTAMP. As both of the below queries return the same result, what would be the difference?.
select systimestamp from dual;
select current_timestamp from dual;
|
|
|
|
|
vino |
| Posted: Sep 04, 2008 06:42:05 AM | |
|
Total Post: 357
Joined: Aug, 2008
|
Hi Shake,
Here are the differences,
CURRENT_TIMESTAMP give session timestamp/date.
SYSTIMESTAMP and SYSDATE give databse date.
Would like to know if you have any queries.
Regards.
|
|
|
|
|
| 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 |
| Vinoth Kumar | 357 |
| Gopu Gopi | 340 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|