This shows you the differences between two versions of the page.
dev:sql:functions:current_time [2010/07/28 22:43] els old revision restored |
dev:sql:functions:current_time [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ====== Omnidex SQL Function: CURRENT_TIME ====== | ||
- | ===== Description ===== | ||
- | The CURRENT_TIME function returns the current time from the server's time-of-day clock. The function is processed once at the beginning of the execution of the SQL statement. A new value is not obtained with each reference or with each fetched row. In a client-server or Omnidex Grid application, the time returned is from the individual server processing the query. | ||
- | |||
- | This function returns an ANSI TIME datatype. | ||
- | ===== Syntax ===== | ||
- | CURRENT_TIME | ||
- | |||
- | ===== Examples ===== | ||
- | ==== Example 1: Column ==== | ||
- | <code> | ||
- | > select current_time from $omnidex; | ||
- | |||
- | CURRENT_TIME | ||
- | ------------ | ||
- | 16:15:08.00 | ||
- | |||
- | </code> | ||
- | |||
- | ====== Additional Resources ====== | ||
- | |||
- | See also: | ||
- | {{page>dev:sql:functions:see_also_variables&nofooter&noeditbtn&noheader}} | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |