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 294 total results
https://dev.mysql.com/partitioning-limitations-partitioning-keys-unique-keys.html
This section discusses the relationship of partitioning keys with primary keys and unique keys. The rule governing this relationship can be expressed as follows: All columns used in the partitioning expression for a partitioned table must be part ...These rules also apply to existing nonpartitioned tables that you wish to partition using ALTER TABLE ...
https://dev.mysql.com/glossary.html
It saves work for the developer, not to have to produce new unique values when inserting new rows. It provides useful information for the query optimizer, because the column is known to be not null and with unique values. For example, for a column ... These terms are commonly used in information about the MySQL database ...
https://dev.mysql.com/getting-unique-id.html
If you insert a record into a table that contains an AUTO_INCREMENT column, you can obtain the value stored into that column by calling the mysql_insert_id() function. You can check from your C applications whether a value was stored in an ...
https://dev.mysql.com/create-index.html
CREATE [UNIQUE | FULLTEXT | SPATIAL] INDEX index_name [index_type] ON tbl_name (key_part,...) [index_option] [algorithm_option | lock_option] ... For a unique index, an error occurs regardless of SQL mode because reducing the index length might ...
https://dev.mysql.com/mysql-cluster-ndbd-definition.html
Unique hash indexes are updated only when the unique index columns are updated, in which case a new entry in the index table is inserted and the old entry is deleted upon commit. Consider this table definition: CREATE TABLE example ( a INT NOT NULL, ... The [ndbd] and [ndbd default] sections are used to configure the behavior of the cluster's data ...
https://dev.mysql.com/create-table.html
IGNORE|REPLACE The IGNORE and REPLACE options indicate how to handle rows that duplicate unique key values when copying a table using a SELECT statement. For a unique index, an error occurs regardless of SQL mode because reducing the index length ...
https://dev.mysql.com/constraint-primary-key.html
Normally, errors occur for data-change statements (such as INSERT or UPDATE) that would violate primary-key, unique-key, or foreign-key constraints. If you use it, MySQL ignores primary-key or unique-key violations and continues processing with the ...If you are using a transactional storage engine such as InnoDB, MySQL automatically rolls back the ...
https://dev.mysql.com/innodb-locks-set.html
However, only an index record lock is required for statements that lock rows using a unique index to search for a unique row. FOR SHARE statements that use a unique index acquire locks for scanned rows, and release the locks for rows that do not ...
https://dev.mysql.com/miscellaneous-functions.html
There are multiple ways to cause MySQL to accept the query: Alter the table to make name a primary key or a unique NOT NULL column. This enables MySQL to determine that address is functionally dependent on name; that is, address is uniquely ...The ...
https://dev.mysql.com/server-error-reference.html
ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe Error number: 1725; Symbol: ER_TABLE_IN_FK_CHECK; SQLSTATE: HY000 Message: Table is being used in foreign key check. Error number: 3728; Symbol: ER_SPATIAL_UNIQUE_INDEX; ...
Displaying 1 to 10 of 294 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-unique-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