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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:26:01+00:00 2026-06-15T19:26:01+00:00

It has always puzzled me with the creation of my Databases. What would be

  • 0

It has always puzzled me with the creation of my Databases. What would be the correct data type for my Encrypted with md5 salt password?

I’ve been using VarChar; but i’ve been told to move over to char but never given an explination?

Which also, I know it’s not in best practice but i’ve got my database as Varchar(255) to hold my password; What would also be the best length to have it? because I don’t know for certain if md5 always returns the same length string, or it can vary?

  • 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-15T19:26:03+00:00Added an answer on June 15, 2026 at 7:26 pm

    You’re first question:

    VARCHAR

    • Trailing white space is preserved. (MySQL 5.0.3+ only.)
    • Minimal storage overhead. A 17 character record takes up only 17 characters of space.
    • Slower SELECTs when searching this column.

    CHAR

    • Trailing white space is always removed.
    • Every record takes up a fixed amount of space – 19 characters in your case. Your 17 character records will waste two bytes of storage.
    • Faster SELECTs when searching this column.

    Source

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

Sidebar

Related Questions

The standard method to send data on a stream socket has always been to
Up until now, my experience with databases has always been working with an intermediate
I have a fairly large application, where my data access strategy has always been
I've been using JSF for a while but there's something that has always confused
It has always seemed strange to me that random.randint(a, b) would return an integer
There has always been a confusion with preg_match in php. I have a string
Designing forms has always been fun, but getting them to send email on the
We're using XMS.Net to connect to a WebSphere MQ server V7; this has always
This has always confused me. It seems like this would be nicer: ["Hello", "world"].join("-")
I have been using Netbeans 6.1 for a long time and my debugger has

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.