Home  >  Article  >  Database  >  Oracle Forms开发手札:特殊的默认值 $$variables$$

Oracle Forms开发手札:特殊的默认值 $$variables$$

WBOY
WBOYOriginal
2016-06-07 17:11:531027browse

Oracle Forms 提供了六个特殊的系统变量,均为提供日期和时间的信息的变量,他们是:

  • 当目标数据源是非ORACLE数据库时,避免使用$$DBDATE$$, $$DBTIME$$, $$DBDATETIME$$. 建议在WHEN-CREATE-RECORD触发器中利用数据源所指定的方式通过SQL语句直接取当前时间。
  • 不要忘记$$DATE$$系列变量取的是客户端操作系统上的当前时间,$$DBDATE$$系列变量则是获取目标数据库中的当前时间。例如你通过远程登录到一个服务器系统,该服务器所在区域的时区和你所在的时区不同的时候,,二者取到的值可能是截然不同的。
  • Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn