單項(xiàng)選擇題Sql server提供了一些系統(tǒng)函數(shù),以下說(shuō)法錯(cuò)誤的是()。

A.selectdatalength(‘abcde’)返回值為:5
B.selectconvert(char(3),12345) ;返回值為:123
C.selectconvert(char(5),12345) ;返回值為:12345


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題假設(shè)訂單表orders用來(lái)存儲(chǔ)訂單信息,cid代表客戶編號(hào),money代表單次訂購(gòu)額,現(xiàn)要查詢每個(gè)客戶的訂購(gòu)次數(shù)和每個(gè)客戶的訂購(gòu)總金額,下面()sql語(yǔ)句可以返回正確結(jié)果。

A.select cid,count(distinct(cid)),sum(money) from orders group by cid
B.select cid,count(distinct(cid)),sum(money) from orders order by cid
C.select cid,count(cid),sum(money) from orders order by cid
D.select cid,count(cid),sum(money) from orders group by cid

2.單項(xiàng)選擇題定義列中可以接受的數(shù)據(jù)值或格式,稱為()。

A.唯一性約束
B.檢查約束
C.主鍵約束
D.默認(rèn)約束