MySQL− codes (wildcards, formatting)

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

Se liknande flashkort:

MS Access − Wildcards

Du måste vara inloggad för att skriva en kommentar.