Past ExamsRwanda ICT preparation

Topics / Database

A developer stores dates of birth in a text column as “12/03/1995”. Why is a DATE column better?

Un développeur stocke les dates de naissance dans une colonne texte sous la forme « 12/03/1995 ». Pourquoi une colonne DATE est-elle préférable ?

Answers
ADates are validated and sort and compare correctly as datesLes dates sont validées, et se trient et se comparent correctement en tant que dates
BText columns cannot hold any numbers at all, including the digits of a dateLes colonnes texte ne peuvent contenir aucun chiffre, pas même ceux d'une date
CDATE columns are always encryptedLes colonnes DATE sont toujours chiffrées
DIt makes the table smaller than one byteElle rend la table plus petite qu'un octet
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·2 marks·Medium

More Database questions