Snippet IT IT News, Programming, Internet and Blogging

30May/100

Database: CHAR and VARCHAR – What are the differences?

Most programmers may already know the main different between CHAR and VARCHAR - The first one supports fixed-length data and the second one supports variable-lengths of data.

Some people may think, since VARCHAR can do what CHAR does, then why we still need CHAR in our database design. I even have heard one of the very experienced Oracle database administrator say "Nowadays nobody is using CHAR anymore, you can forget about putting CHAR column in your database design".

4May/090

PHP: How to Protect Password in Database – Password Hashing

If you are a programmer, you may have developed applications that store users or your customers' information in database. How to store users' or customers' sensitive data (especially password) might be an issues for most programmer. How do you ensure and convience that your users or customers'  password are actually secured?

Password