Version sans cache

Mise en cache désactivé. Réglage défaut pour cette page : actif (code DEF204)
Si l'affichage est trop lent, vous pouvez désactiver le mode utilisateur pour visualiser la version en cache.

Rechercher dans le manuel MySQL

Displaying 11 to 20 of 58 total results
https://dev.mysql.com/window-functions-usage.html
However, whereas an aggregate operation groups query rows into a single result row, a window function produces a result for each query row: The row for which function evaluation occurs is called the current row. The query rows related to the current ...
https://dev.mysql.com/partitioning-range.html
For example, let us suppose that you wish to partition based on the year that each employee left the company; that is, the value of YEAR(separated). (See Section 13.1.9, “ALTER TABLE Syntax”, and Section 23.3, “Partition Management”, for ...
https://dev.mysql.com/date-calculations.html
To determine how many years old each of your pets is, use the TIMESTAMPDIFF() function. The following query shows, for each pet, the birth date, the current date, and the age in years. What if you want to know which animals have birthdays next ...
https://dev.mysql.com/calculating-days.html
CREATE TABLE t1 (year YEAR(4), month INT UNSIGNED, day INT UNSIGNED); INSERT INTO t1 VALUES(2000,1,1),(2000,1,20),(2000,1,30),(2000,2,2), (2000,2,23),(2000,2,23); The example table contains year-month-day values representing visits by users to the ... The following example shows how you can use the bit group functions to calculate the number of days per month a user has visited a Web ...
https://dev.mysql.com/expressions.html
This section lists the grammar rules that expressions must follow in MySQL and provides additional information about the types of terms that may appear in expressions. Expression Syntax Expression Term Notes Temporal Intervals The following grammar ...
https://dev.mysql.com/window-functions-named-windows.html
WINDOW w AS (PARTITION BY country) This construct is not permitted because the OVER clause specifies PARTITION BY for a named window that already has PARTITION BY: OVER (w PARTITION BY year) ... Windows can be defined and given names by which to ...
https://dev.mysql.com/datetime.html
For example, a value such as '10:11:12' might look like a time value because of the :, but is interpreted as the year '2010-11-12' if used in a date context. Dates containing two-digit year values are ambiguous because the century is unknown. MySQL ...This section describes their characteristics, how they are similar, and how they ...
https://dev.mysql.com/partitioning-pruning.html
Pruning can also be applied for tables partitioned on a DATE or DATETIME column when the partitioning expression uses the YEAR() or TO_DAYS() function. YEAR('1984-06-21') yields the value 1984, which is found in partition d3. For example, this ...
https://dev.mysql.com/create-table.html
Suppose that you have a table that you wish to partition on a column containing year values, according to the following scheme. Example: COMMENT = 'Data for the years previous to 1999' The maximum length for a partition comment is 1024 characters.
https://dev.mysql.com/server-error-reference.html
Error number: MY-010112; Symbol: ER_CONFIRMING_THE_FUTURE; SQLSTATE: HY000 Message: Current time has got past year 2038. Error number: MY-010344; Symbol: ER_TABLE_INCOMPATIBLE_YEAR_FIELD; SQLSTATE: HY000 Message: Found incompatible YEAR(x) field ...
Displaying 11 to 20 of 58 total results

Rechercher dans le manuel MySQL

Traduction non disponible

Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-fct-year-p-2.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :en Manuel MySQL : https://dev.mysql.com/

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut