Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Difference between ENUM and SET in SQL.?

user-image
Question ajoutée par Abdul Khader Shaik , IT & Ops Manager , TheSmartlabs
Date de publication: 2018/01/03
Wojciech Kakol
par Wojciech Kakol , Senior Business Intelligence Developer , VOLVO IT

An ENUM value must be one of those listed in the column definition. The value cannot be the error value (0 or '').

A SET value must be the empty string or a value consisting only of the values listed in the column definition separated by commas.

More here:

https://dev.mysql.com/doc/refman/5.7/en/constraint-enum.html

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?