sql中convert用法 convert用法?
convert用法?定義和用法convert()函數(shù)是將日期轉(zhuǎn)換為新數(shù)據(jù)類(lèi)型的通用函數(shù)。convert()函數(shù)可以以不同格式顯示日期/時(shí)間數(shù)據(jù)。Syntaxconvert(data) type(len
convert用法?
定義和用法
convert()函數(shù)是將日期轉(zhuǎn)換為新數(shù)據(jù)類(lèi)型的通用函數(shù)。
convert()函數(shù)可以以不同格式顯示日期/時(shí)間數(shù)據(jù)。
Syntax
convert(data) type(length),data to be converted,style)data type(length)指定目標(biāo)數(shù)據(jù)類(lèi)型(長(zhǎng)度可選)。要轉(zhuǎn)換的數(shù)據(jù)包含要轉(zhuǎn)換的值。樣式指定日期/時(shí)間輸出格式。
c語(yǔ)言convert轉(zhuǎn)換的語(yǔ)法是?
Convert是一種表達(dá)式語(yǔ)法,可將一種數(shù)據(jù)類(lèi)型的表達(dá)式顯式轉(zhuǎn)換為另一種:Convert(data)uuType[(length)],expression[,style])表示Convert(data type[(length,optional)],expression[,format style(optional)]