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 1035137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:30:02+00:00 2026-05-16T14:30:02+00:00

Often when creating a new web app and configuring MySQL, certain fields will need

  • 0

Often when creating a new web app and configuring MySQL, certain fields will need to change in format as the app develops. For instance, I may change the format of a date field or a field which once was just int now needs a letter or what not. So usually I just make every field Varchar 255 until Im finished at which time Ill change data types to correct ones.

So my question is, how important are data types? Whats the purpose? Speed?

  • 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-16T14:30:02+00:00Added an answer on May 16, 2026 at 2:30 pm

    Data types are extremely important – without them, there’s no way to be sure what data is actually stored in the column. For example, a VARCHAR(255) could be anything – string, numeric, date/time… It makes things extremely difficult to find particular data if you can’t guarantee what the data is or any form on consistency.

    Which means data typing also provides basic validation – can’t stick letters into a column with a numeric or date/time data type…

    The speed of data retrieval is also improved by using indexes on a column, but an index can not be used if you have to change the data type of the data to something else before the data can be compared.

    It’s a good thing to realize what the difference is between data, and presentation. Like the case with date field formatting – that’s presentation, which can be easily taken care of if the data type is DATETIME (or converted to DATETIME).

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

Sidebar

Ask A Question

Stats

  • Questions 508k
  • Answers 508k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If you just want something to print you can use… May 16, 2026 at 4:20 pm
  • Editorial Team
    Editorial Team added an answer The most robust solution is to probably use trigger_error(). This… May 16, 2026 at 4:20 pm
  • Editorial Team
    Editorial Team added an answer Ok the I'd sugggest the following: Add an extra column… May 16, 2026 at 4:20 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am writing a web app in Grails with the Acegi/Spring Security plug-in, and
I'm replacing an old web application with a new one, with different structure. I
i there. I'm creating a newsletter for my company - the receivers will most
Our application exposes queries by way of web services, and what we've found is
When I was developing web-apps with jsp/jstl and jQuery, I used to write nice
I have a small C# ASP.NET web application which generates several PNG image files
I have over the course of a few projects developed a pattern for creating
I'm currently in the process of creating an announcement system at my place of
I need to define simple classes and interfaces ( Ex. IClassInterface ) in a
I'm exploring wxWidgets and at the same time learning C/C++. Often wxWidgets functions expect

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.