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 1 to 10 of 58 total results
https://dev.mysql.com/year.html
The YEAR type is a 1-byte type used to represent year values. It can be declared as YEAR or YEAR(4) and has a display width of four characters. Note MySQL 8.0 does not support the YEAR(2) data type permitted in older versions of MySQL. For ...As a ...
https://dev.mysql.com/two-digit-years.html
Date values with two-digit years are ambiguous because the century is unknown. Such values must be interpreted into four-digit form because MySQL stores years internally using four digits. For DATETIME, DATE, and TIMESTAMP types, MySQL interprets ...Remember that these rules are only heuristics that provide reasonable guesses as to what your data values ...
https://dev.mysql.com/group-by-modifiers.html
To also determine the total profit summed over all years, you must add up the individual values yourself or run an additional query. Following each set of rows for a given year, an extra super-aggregate summary row appears showing the total for all ... The GROUP BY clause permits a WITH ROLLUP modifier that causes summary output to include extra rows that represent higher-level (that is, super-aggregate) summary ...
https://dev.mysql.com/date-and-time-functions.html
These functions are affected: CONVERT_TZ(), DATE_ADD(), DATE_SUB(), DAYOFYEAR(), LAST_DAY() (permits a day part of zero), TIMESTAMPDIFF(), TO_DAYS(), TO_SECONDS(), WEEK(), WEEKDAY(), WEEKOFYEAR(), YEARWEEK(). The return value depends on the ... This ...
https://dev.mysql.com/partitioning-management-range-list.html
clauses, so that s0 contains only those records for which YEAR(dob) is less than 1960 and s1 contains those rows in which YEAR(dob) is greater than or equal to 1960 but less than 1970. For example, partitions p1 and p2 together cover the years 1980 ... Adding and dropping of range and list partitions are handled in a similar fashion, so we discuss the management of both sorts of partitioning in this ...
https://dev.mysql.com/date-and-time-literals.html
The TIMESTAMP syntax produces a DATETIME value in MySQL because DATETIME has a range that more closely corresponds to the standard SQL TIMESTAMP type, which has a year range from 0001 to 9999. (The MySQL TIMESTAMP year range is 1970 to 2038.) String ... Date and time values can be represented in several formats, such as quoted strings or as numbers, depending on the exact type of the value and other ...
https://dev.mysql.com/date-and-time-type-overview.html
MySQL displays YEAR values in YYYY format, but permits assignment of values to YEAR columns using either strings or numbers. For additional information about YEAR display format and interpretation of input values, see Section 11.3.3, “The YEAR ...
https://dev.mysql.com/date-and-time-types.html
The date and time types for representing temporal values are DATE, TIME, DATETIME, TIMESTAMP, and YEAR. Although MySQL tries to interpret values in several formats, date parts must always be given in year-month-day order (for example, '98-09-04'), ...Each temporal type has a range of valid values, as well as a “zero” value that may be used when you specify an invalid value that MySQL cannot ...
https://dev.mysql.com/func-op-summary-ref.html
WEEK() Return the week number WEEKDAY() Return the weekday index WEEKOFYEAR() Return the calendar week of the date (1-53) WEIGHT_STRING() Return the weight string for a string XOR Logical XOR YEAR() Return the year YEARWEEK() Return the year and ...
https://dev.mysql.com/partitioning-hash.html
For instance, you might want to partition based on the year in which an employee was hired. The variance of the expression YEAR(date_col) with respect to date_col is not quite as direct as that of TO_DAYS(date_col), because not every possible change ... Partitioning by HASH is used primarily to ensure an even distribution of data among a predetermined number of ...
Displaying 1 to 10 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-1.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