TAILIEUCHUNG - OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P101

OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P102:There is an ever increasing demand for staff with IT industry certification. The benefits to employers are significant—they can be certain that staff have a certain level of competence—and the benefits to the individuals, in terms of demand for their services, are equally great. Many employers are now requiring technical staff to have certifications, and many IT purchasers will not buy from firms that do not have certified staff. | OCA OCP Oracle Database 11g All-in-One Exam Guide 956 as well as knowledge of all time zones and any local quirks for daylight saving. The database can do it all for you. The database time zone can be set at creation time in the CREATE DATABASE command and adjusted later with ALTER DATABASE SET TIME_ZONE . If not set it defaults to the time zone picked up from the host operating system at the time of creation. The client time zone defaults to that of the client operating system or it can be set with the environment variable ORA_STDZ. Within a session the time zone can be set with ALTER SESSION SET TIME_ZONE . Time zones can always be specified by full name by abbreviated name or as a fixed offset in hours and minutes from GMT. The last option cannot take account of daylight saving time adjustments. The list of supported time zones is displayed in V TIMEZONE_NAMES. Exercise 26-3 Make Time Zone Adjustments Confirm and adjust your current time zone using appropriate data types. Test the results using appropriate formatting masks. 1. Using SQL Plus connect to your instance as user SYSTEM. 2. Identify the database time zone with this query select property_value from database_properties where property_name DBTIMEZONE and note the result. 3. Create a table as follows create table times date_std date date_tz timestamp with time zone date_ltz timestamp with local time zone 4. View the list of supported time zones with this query select from v timezone_names 5. Adjust your session time zone to something other than the database time zone for example alter session set time_zone Pacific Tahiti 6. Set your timestamp with time zone format to 24 hour clock with abbreviated time zone names with daylight saving variations. alter session set nls_timestamp_tz_format YYYY-MM-DD HH24 MI SS TZD 7. Set your timestamp format to 24 hour clock. alter session set nls_timestamp_format YYYY-MM-DD HH24 MI SS 8. Set your date format to 24 hour clock. alter session set nls_date_format YYYY-MM-DD .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.