Oracle Forms Development Notes: Special default value $ variables $

Source: Internet
Author: User

Oracle Forms provides six special system variables:

  • $ DATE $
  • $ TIME $
  • $ DATETIME $
  • $ DBDATE $
  • $ DBTIME $
  • $ DBDATETIME $
Among them, $ DATE $, $ TIME $, $ DATETIME $ three system variables can be used to get users Client Operating SystemThe current date and time. $ DBDATE $, $ DBTIME $, $ DBDATETIME $ three system variables can be obtained Server where the database system is locatedThe current date and time. UsageGenerally, these six system variables can be used FillThe following three attributes of a data ITEM on a data BLOCK
  • Initial Value (Initial Value )-This is the most common
  • Highest Allowed Value (maximum Allowed Value)
  • Lowest Allowed Value (minimum Allowed Value)
Notes
  1. When the target data source is a non-ORACLE database, avoid using $ DBDATE $, $ DBTIME $, $ DBDATETIME $. we recommend that you use the method specified by the data source in the WHEN-CREATE-RECORD trigger to obtain the current time using an SQL statement.
  2. Do not forget that the $ DATE $ series variables take the current time on the client operating system, and $ DBDATE $ series variables get the current time in the target database. For example, if you remotely log on to a server system and the time zone of the server is different from the time zone of your server, the values of the two may be different.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.