MySQL− codes (wildcards, formatting)

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

Lásd hasonló kártyákat:

MS Access − Wildcards

Kommentár közzétételéhez be kell jelentkeznie.