本文主要介紹數(shù)據(jù)庫(kù)msql(mssql go),下面一起看看數(shù)據(jù)庫(kù)msql(mssql go)相關(guān)資訊。
mssql server 2005數(shù)學(xué)函數(shù)1。絕對(duì)值(abs)選擇fw weight-50,abs(fw weight-50)和abs(5.38)選擇t_person 2。power power (x,y)用于計(jì)算x的y次方,選擇fw weight,power(fw weight,0.5),electric(fw weight,2),power(fw weight,3),electric(fw weight,4)從t_person (2,2) 3中選擇power。平方根(root)選擇fw weight,sqrt(fw weight)選擇from t_person 4。隨機(jī)數(shù)rand支持參數(shù),沒(méi)有參數(shù)。select rand select rand (123) 5。四舍五入到最大整數(shù)吸力從t_person 6中選擇姓名,fw weight,吸力(fw weight),吸力(fweight * 1)。四舍五入到最小整數(shù):building從t_person 7中選擇名稱、fw weight、樓層(fw weight)、樓層(fweight * 1)。四有效值和五進(jìn)制圓circle (m,d)m是四和五的值,d是計(jì)算精度,即使用四有效值和五時(shí)保留的小數(shù)位數(shù)。d是沒(méi)有小數(shù)的0,d是負(fù)數(shù),表示整數(shù)部分四舍五入。從t_person 8中選擇name,fw weight,circle(fw weight,1),circle(fw weight *-1,0),circle(fw weight,1)。求正弦值(sin)從t_person 9中選擇名字fw weight和sin(fw weight)。余弦值(cos)從t_person 10中選擇姓名、fw weight和cos(fw weight)。反正弦(in)從t_person 11中選擇姓名、fw weight和阿信(1/fw weight)。反余弦(acos)選擇名稱、fw weight和acos(1/fw weight)選自t_person 12。正切值(tan)從t_person 13中選擇名稱、fw weight和tan(fw weight)。求反正切值(atan)從t_person 14中選擇姓名,fw weight,atan(fw weight)。兩個(gè)變量的反正切atn2(x,y)類似于t_person 15中y/x,fw weight,at n2(fw weight,2)的反正切選擇名稱的計(jì)算。求你了。(cot)從t_person 16中選擇姓名、體重和床位(fw weight)。為了圓周率。(pi)選擇選擇一個(gè)名字,fw weight,fweight * pi,pi從t_person轉(zhuǎn)換為17?;《仁且粋€(gè)角度系統(tǒng)度數(shù),結(jié)果的準(zhǔn)確性與參數(shù)有關(guān)。選擇degree (pi),degree (3),degree (3)轉(zhuǎn)換為18。弧度系統(tǒng)的弧度精度的結(jié)果是相關(guān)參數(shù)(180)被選定弧度,弧度(180) 19。符號(hào)symbol返回一個(gè)數(shù)字符號(hào),如果該值大于0,則返回1。如果值等于0,則返回0,如果值小于0,則返回1。結(jié)果的準(zhǔn)確性與參數(shù)有關(guān)。從t_person徽標(biāo)20中選擇名稱、fw weight-48.68、徽標(biāo)(fw weight-48.68)、徽標(biāo)(1)、(1)。從t_person 21中刪除剩余的% selection名稱、fw weight和fweight % 5。自然對(duì)數(shù)(log)選擇名字,fw weight和log(fw weight),log (1)來(lái)自t_person 22。以10為基數(shù)的對(duì)數(shù)log10從t_person ps:程序員主要參考 的sql黃金。這個(gè)例子已經(jīng)改變了。一個(gè)t_person創(chuàng)建一個(gè)表復(fù)制代碼如下:創(chuàng)建一個(gè)表t_person (fidnumber varchar(20),fname varchar(20),fbirthday datetime,fregday datetime,fw weight value(10,2),)。
了解更多數(shù)據(jù)庫(kù)msql(mssql go)相關(guān)內(nèi)容請(qǐng)關(guān)注本站點(diǎn)。