CURRENT TIMESTAMP

From SQLZOO
Revision as of 18:42, 21 October 2012 by Peter (Talk | contribs)

Jump to: navigation, search
Compatibility
CURRENT_TIMESTAMP
EngineOKAlternative
ingresYes
mysqlYes
oracleYes
postgresYes
sqlserverYes

CURRENT_TIMESTAMP

CURRENT_TIMESTAMP returns the current date and time.

 CURRENT_TIMESTAMP -> '2006-12-31 18:03:44'  
schema:gisq

With a GROUP BY region statement each region shows up just once. The MAX column gives the "largest" name in the region in the context of strings this is the last name alphabetically.

SELECT CURRENT_TIMESTAMP, whn
  FROM gisq.eclipse
SELECT CURRENT_TIMESTAMP, whn
  FROM eclipse

See also

Language: English  • Deutsch
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense