Difference between revisions of "MONTH/de"

From SQLZOO
Jump to: navigation, search
(Created page with "Category:Deutsch <table align='right' border='1'> <caption>Kompatibilität</caption> <tr><th colspan='3'>MONTH(d)</th></tr> <tr><td align='center'>'''DBMS'''</td><td align...")
 

Latest revision as of 21:25, 21 October 2012

Kompatibilität
MONTH(d)
DBMSOKAlternative
IngresJa EXTRACT(MONTH from d)
MySQLJa EXTRACT(MONTH from d)
OracleNein TO_CHAR(d,'MM')
PostgreSQLNein EXTRACT(MONTH from d)
SQL ServerJa DATEPART(MONTH,d)

MONTH

MONTH ermittelt den Monat aus einem Datumswert.

   MONTH(d)

In diesem Beispiel wird der Monat aus dem whn-Datum ermittelt.

SELECT EXTRACT(MONTH FROM whn) AS v
      ,whn
      ,wht
  FROM eclipse
SELECT TO_CHAR(whn,'MONTH') AS v
      ,whn
      ,wht
  FROM gisq.eclipse
SELECT MONTH(whn) AS v, whn, wht
  FROM eclipse

Siehe auch

Sprache: English  • Deutsch
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense