Difference between revisions of "CURRENT TIMESTAMP"
From SQLZOO
| Line 19: | Line 19: | ||
<div class='ht'> | <div class='ht'> | ||
<div class=params>schema:gisq</div> | <div class=params>schema:gisq</div> | ||
| − | |||
| − | |||
<source lang='sql' class='def e-oracle'> | <source lang='sql' class='def e-oracle'> | ||
SELECT CURRENT_TIMESTAMP, whn | SELECT CURRENT_TIMESTAMP, whn | ||
Latest revision as of 17:50, 21 October 2012
| CURRENT_TIMESTAMP | ||
|---|---|---|
| Engine | OK | Alternative |
| ingres | Yes | |
| mysql | Yes | |
| oracle | Yes | |
| postgres | Yes | |
| sqlserver | Yes | |
CURRENT_TIMESTAMP
CURRENT_TIMESTAMP returns the current date and time.
CURRENT_TIMESTAMP -> '2006-12-31 18:03:44'
schema:gisq
SELECT CURRENT_TIMESTAMP, whn FROM gisq.eclipse
SELECT CURRENT_TIMESTAMP, whn FROM eclipse
See also
| Language: | English • Deutsch |
|---|