Datatypes
Everyone knows what is datatype from previous courses, but does anyone know what datatypes are used in SQL?
Date, Time, Datetime
Date, Time and Datetime are a datatypes that stores (obviously) date and time. Often, the rule of storing data for Date is “mm.dd.yy” and for Time is “hh:mm:ss”.
Varchar (Text)
Varchar (also a Text, short text or long text) is a datatype that stores a list of character (string in other words).
“Hello World!” is a sentence with “text” datatype.
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.