This shows you the differences between two versions of the page.
dev:sql:functions:current_time [2009/12/05 00:14] tdo created |
dev:sql:functions:current_time [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | ====== Omnidex SQL Function: DATE_TIME ====== | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ===== Description ===== | ||
- | The CURRENT_TIME function returns the current date from the system's time-of-day clock. | ||
- | The function is processed once at the beginning of execution of the SQL statement. A new value is not obtained with each reference or with each fetched row. | ||
- | ===== Syntax ===== | ||
- | CURRENT_TIME | ||
- | ===== Examples ===== | ||
- | ==== Example 1 ==== | ||
- | <code SQL> | ||
- | select company, | ||
- | current_time | ||
- | from customers | ||
- | where company='dynamic' | ||
- | |||
- | ... | ||
- | Dynamic Information Systems Corporation, 14:44:56.00 | ||
- | </code> | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |