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

  • Home
  • SEARCH
  • 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 4005904
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:27:01+00:00 2026-05-20T08:27:01+00:00

I have some columns that may contain data that is if the user wants

  • 0

I have some columns that may contain data that is if the user wants to provide it.

Example | Email | First Name | Last Name |

Email – Required so column is set to NOT NULL – Default: None

First Name – Not Required so column set to NULL – Default: NULL

Last Name – Not Required so column set to NULL – Default: NULL

In phpmyadmin when creating/editing a column; it has an option saying Default: with a drop down showing None | As Defined | NULL | Current Timestamp

Because First Name | Last Name is optional and not required should I choose default NULL or maybe NONE?

Which is best and why please?

I know there are many discussions on this already but I could not find any that answered my question; they was more in regards to allowing NULL or NOT NULL, my question is about default value.

  • 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-05-20T08:27:02+00:00Added an answer on May 20, 2026 at 8:27 am

    You should set them to Default:Null as if the user doesn’t provide any info for that fields, they should be null obviously.

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

Sidebar

Related Questions

We used to have a search, that checks two columns for some words. Both
We have some input data that sometimes appears with &nbsp characters on the end.
Let's say I have a tab-delimited text file that contains data arranged in columns
I have some code that sorts table columns by object properties. It occurred to
I have an access query which creates some output, 3 columns named e.g. A
I have problem when I try insert some data to Informix TEXT column via
I have some UI in VB 2005 that looks great in XP Style, but
I have the following php script that allows me perform some calls to other
I have file like this which contains 5 columns. But some rows in my
I'm looking for some architecture ideas on a problem at work that I may

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.