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 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

Related Questions

When creating database tables I'm often stumped when trying to name my time/date/timestamp fields.
Often, when searching for answers, I have found that certain websites will allow you
I'm creating a web app with various classes for things like the user, Smarty
While creating classes in Java I often find myself creating instance-level collections that I
I'm often creating custom assertion methods for my JUnit tests. eg: public void assertArrays(String[]
I find myself creating Converters often and would like to be able to: right-click
When creating gems, I often have a directory structure like this: |--lib |-- helpers.rb
Often I create Child threads within the main() as Thread thread = new Thread(new
The process of creating a new build and releasing it to production is a
I am writing a web app in Grails with the Acegi/Spring Security plug-in, and

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.