TIMESTAMP WITH TIME ZONE type extends TIMESTAMP to allow you to store a time zone : Timestamp « Data Type « Oracle PL / SQL

Oracle PL / SQL
1. Aggregate Functions
2. Analytical Functions
3. Char Functions
4. Constraints
5. Cursor
6. Data Type
7. Date Timezone
8. Hierarchical Query
9. Index
10. Insert Delete Update
11. Numeric Math Functions
12. Object Oriented Database
13. PL SQL
14. Regular Expressions
15. Report Column Page
16. Result Set
17. Select Query
18. Sequence
19. SQLPlus
20. Store Procedure Function
21. Subquery
22. System Tables
23. Table
24. Table Joins
25. Trigger
26. User Previliege
27. View
28. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Oracle PL / SQL » Data Type » Timestamp 
TIMESTAMP WITH TIME ZONE type extends TIMESTAMP to allow you to store a time zone


SQL>
SQL> --TIMESTAMP WITH TIME ZONE type extends TIMESTAMP to allow you to store a time zone.
SQL>
SQL>
SQL> CREATE TABLE purchases_timestamp_with_tz (
  2    product_id INTEGER,
  3    customer_id INTEGER,
  4    made_on TIMESTAMP(4WITH TIME ZONE
  5  );

Table created.

SQL>
SQL> desc purchases_timestamp_with_tz;
 Name                                                                                                  Null?    Type
 ----------------------------------------------------------------------------------------------------- -------- --------------------------------------------------------------------
 PRODUCT_ID                                                                                             NUMBER(38)
 CUSTOMER_ID                                                                                            NUMBER(38)
 MADE_ON                                                                                                TIMESTAMP(4WITH TIME ZONE

SQL>
SQL> drop table purchases_timestamp_with_tz;

Table dropped.

SQL>
SQL>

           
       
Related examples in the same category
1. Use the Timestamp data type in a table and insert data
2. Compare data and timestamp
3. INSERT statement adds a row with the TIMESTAMP keyword to supply a datetime literals
4. Use the TIMESTAMP type to define a column in a table
5. TIMESTAMP(4) WITH TIME ZONE
w___w_w__.___j_a___v__a_2__s__.__c__o__m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.