This shows you the differences between two versions of the page.
dev:sql:functions:current_timestamp [2009/12/05 00:15] tdo |
dev:sql:functions:current_timestamp [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: CURRENT_TIMESTAMP ====== | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ===== Description ===== | ||
- | The CURRENT_TIMESTAMP function returns the current timestamp 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_TIMESTAMP | ||
- | ===== Example ===== | ||
- | ==== Example 1 ==== | ||
- | <code SQL> | ||
- | select company, | ||
- | current_timestamp | ||
- | from customers | ||
- | where company='dynamic' | ||
- | |||
- | ... | ||
- | Dynamic Information Systems Corporation, 2003-01-24 14:45:04.00 | ||
- | |||
- | </code> | ||
- | {{page>:bottom_add&nofooter&noeditbtn}} |