Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8958927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:19:47+00:00 2026-06-15T15:19:47+00:00

I am learning about (MySQL) – SET Type, At the Mysql, I didn’t understand

  • 0

I am learning about “(MySQL) – SET Type”, At the Mysql, I didn’t understand the following statement:
The Link: The SET Type.

MySQL stores SET values numerically, with the low-order bit of the
stored value corresponding to the first set member. If you retrieve a
SET value in a numeric context, the value retrieved has bits set
corresponding to the set members that make up the column value.

As they saying “numerically” i understand that “Behind the scenes” there is 2 columns, 1 With the SET members and 1 with the numeric values following by the binary system(1,2,4,8,16,etc..).

Also i didn’t get this statment:

If a number is stored into a SET column, the bits that are set in the
binary representation of the number determine the set members in the
column value. For a column specified as SET(‘a’,’b’,’c’,’d’), the
members have the following decimal and binary values.

The big picture I do not understand under what values the SET members stored in the database and would be very happy if some one may help me, Thank you all and nice day.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:19:48+00:00Added an answer on June 15, 2026 at 3:19 pm

    The SET data type values are stored as integer numbers, and SET values (‘val1’, ‘val2’…) are stored in bits; 64 values are possible – 8 bytes integer number.

    There is an article about the SET type and its using – How to edit values of SET data type.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning about the MySQL statement, ORDER BY . I ran into this
I am learning about JS Prototype. If I set a prototype of a constructor(A)
I'm still learning about MySQL. I may be making a very basic error, and
Sorry for my ignorance about mysql and databases, but I'm kind of learning it.
I have been learning about how to set up Tomcat's connection pool through this
Learning about Explicit Cursors and trying to create my frst one.: SET SERVEROUTPUT ON
I'm learning currently php/mysql and I'm confused about this bit. After some heads scratching
i started learning a bit about mysql and while i was reading i was
Just been learning about the ternary operator and was expecting the following to work:
I'm very much still learning about mySQL (am still really only comfortable with basic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.