The title asks a lot of the question. I have not used CHAR for years. Right now, I am processing a database containing CHARs around the world for primary keys, codes, etc. What about the CHAR column (30)?
Edit: So, the general consensus seems to be that CHAR, if it works great for certain things. However, I think that you can create a database schema that does not need “these certain things”, which does not require fixed-length strings. With bit, uniqueidentifier, varchar and text types, it seems that in a well-normalized scheme, you get a certain elegance that you don’t get when you use encoded string values. Thinking in fixed lengths, no crime seems to mean a relic of mainframes (I myself recognized RPG II). I believe that this is outdated, and I have not heard convincing arguments from you, arguing otherwise.
types sql char
cdonner
source share