I'm manipulating some databases where the vast majority of columns are with data type VARCHAR
for fields like Date, Price, Total Value, Birth, Date / Time, and so on. Briefly, virtually everything is in varchar.
At least the tables that I had to create later I decided to put in the data type that column is intended because, for me, it is easier at the time of programming to manipulate this data.
But the people where I work "get on my feet" because I decide to use data types other than VARCHAR
. For some time, it heated up to an argument. They said it was silly and waste of time.
However, I believe there are benefits to specifying the type of data, mainly because it is easier to manipulate during programming and to occupy less space in the database (is this correct for me?).
Are there more benefits in specifying the type of data each column is destined for in a bank? Better yet, is there some sort of study that deals with the benefits of using certain types of data while storing or executing a program in a project?