Go to GoReading for breaking news, videos, and the latest top stories in world news, business, politics, health and pop culture.

How to Do ENUM in PhpMyAdmin

104 5
    • 1). Select the database by clicking on its name from the list on the left-hand side of the phpMyAdmin page.

    • 2). Type "enumtest" in the "Name:" field of the "Create new table on database" section. Type "1" in the "Number of fields:" box. Click the "Go" button.

    • 3). Type "an_enum" in the "Field" edit box. Select "ENUM" from the "Type" drop-down list. Type "'red', 'yellow', 'green'" in the "Length/Values" field. Select "As defined:" from the "Default" drop-down list. Type "red" in the field immediately below it. Click "Save."

    • 4). Click the "Insert" tab. Select either "red", "yellow" or "green" from the "Value" drop-down list. Click the "Go" button.

Source...

Leave A Reply

Your email address will not be published.