One way that affects performance is not to require you to convert it to the correct type to manipulate data. This is true when someone uses varchar, for example, instead of the datetime data type, and then they need to be converted to date math. It can also affect performance by providing a smaller record (so you should not define everything with a maximum size), which affects how pages are stored and retrieved in the database.
Of course, using the right data type can also help data integrity; you cannot save a date that does not exist in the datetime field, but you can in the varchar field. If you use float instead of int, your values ββare not limited to integer values, etc. If you are talking about float, it is usually bad to use it if you intend to make mathematical quotes, because you get rounding errors, because this is not the exact type.
Hlgem source share