MySQL− codes (wildcards, formatting)

 0    36 карточки    sir
скачать mp3 Печать играть Проверьте себя
 
Вопрос Ответ
Represents zero or more characters
начать обучение
%
bl% finds bl, black, blue, and blob
Represents a single character
начать обучение
_
h_t finds hot, hat, and hit
Represents any single character within the brackets
начать обучение
[]
h[oa]t finds hot and hat, but not hit
Represents any character not in the brackets
начать обучение
^
h[^oa]t finds hit, but not hot and hat
Represents a range of characters
начать обучение
-
c[a-b]t finds cat and cbt
Abbreviated weekday name (Sun to Sat)
начать обучение
%a
Abbreviated month name (Jan to Dec)
начать обучение
%b
Month number (0 to 12)
начать обучение
%c
Day of the month as a numeric value, followed by suffix (1st, 2nd, 3rd, ...)
начать обучение
%D
Day of the month as a numeric value (01 to 31)
начать обучение
%d
Day of the month as a numeric value (0 to 31)
начать обучение
%e
Microseconds (000000 to 999999)
начать обучение
%f
Hour (00 to 23)
начать обучение
%H
Hour (00 to 12)
начать обучение
%h
Hour (00 to 12)
начать обучение
%I
Minutes (00 to 59)
начать обучение
%i
Day of the year (001 to 366)
начать обучение
%j
Hour (0 to 23)
начать обучение
%k
Hour (1 to 12)
начать обучение
%l
Month name in full (January to December)
начать обучение
%M
Month name as a numeric value (00 to 12)
начать обучение
%m
AM or PM
начать обучение
%p
Time in 12 hour AM or PM format (hh: mm: ss AM/PM)
начать обучение
%r
Seconds (00 to 59)
начать обучение
%S
Seconds (00 to 59)
начать обучение
%s
Time in 24 hour format (hh: mm: ss)
начать обучение
%T
Week where Sunday is the first day of the week (00 to 53)
начать обучение
%U
Week where Monday is the first day of the week (00 to 53)
начать обучение
%u
Week where Sunday is the first day of the week (01 to 53). Used with %X
начать обучение
%V
Week where Monday is the first day of the week (01 to 53). Used with %x
начать обучение
%v
Weekday name in full (Sunday to Saturday)
начать обучение
%W
Day of the week where Sunday=0 and Saturday=6
начать обучение
%w
Year for the week where Sunday is the first day of the week. Used with %V
начать обучение
%X
Year for the week where Monday is the first day of the week. Used with %v
начать обучение
%x
Year as a numeric, 4-digit value
начать обучение
%Y
Year as a numeric, 2-digit value
начать обучение
%y

См. похожие карточки:

MS Access − Wildcards

Вы должны войти в свой аккаунт чтобы написать комментарий.