MySQL− codes (wildcards, formatting)

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

Pozrite si podobné kartičky:

MS Access − Wildcards

Ak chcete pridať komentár, musíte byť prihlásený.