About 1,790,000 results
Open links in new tab
  1. Creating ENUM variable type in MySQL - Stack Overflow

    Sep 22, 2009 · I am using an ENUM data type in MySQL and would like to reuse it, but not retype in the values. Is there an equivalent to the C, C++ way of defining types in MySQL? I would like to do the …

  2. How do I add more members to my ENUM-type column in MySQL?

    The MySQL reference manual does not provide a clearcut example on how to do this. I have an ENUM-type column of country names that I need to add more countries to. What is the correct MySQL syntax...

  3. Qual a diferença entre SET e ENUM no MySQL? - Stack Overflow em …

    Sep 28, 2017 · Quais as diferenças entre SET e ENUM no MySQL? E em quais situações ambas são aplicadas da melhor maneira?

  4. How can I get enum possible values in a MySQL database?

    Feb 28, 2010 · I want to populate my dropdowns with enum possible values from a DB automatically. Is this possible in MySQL?

  5. database - MySQL enum vs. set - Stack Overflow

    MySQL stores ENUM string values internally as decimal integers of values 1 through n for a column with n members in the enumeration. MySQL represents SET string values as a bitmap using one bit per …

  6. MySQL ENUM type vs join tables - Stack Overflow

    Then I discovered that MySQL has an ENUM type which matches my requirement exactly. Other than a direct dependency on MySQL, are there any pitfalls with using the ENUM type?

  7. MySQL Change a column ENUM value - Stack Overflow

    Dec 28, 2015 · I have a MySQL table "content" which has a column page_type of type ENUM. The ENUM values are NEWS & PRESS_RELEASE. I need to replace NEWS with …

  8. Does an enum in MySQL need to be NOT NULL? - Stack Overflow

    Jun 11, 2015 · ALTER TABLE asdf ADD field ENUM('N', 'Y') NOT NULL; Explanation: According to the MySQL reference manual: If an ENUM column is declared NOT NULL, its default value is the first …

  9. Changing the Value of a MySQL ENUM Value, Throughout a Table

    Sep 22, 2011 · So you think MySQL will automatically go through the database and make any changes needed? I was thinking another method would be to use ALTER to add the new ENUM value to the …

  10. What is the best way to return enum values in MySQL?

    enum('value1','value2','value3') The second query gives me the same and with additional columns as well. I would prefer to just get those values without the enum() and commas, is it possible, or do I …