單項(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)約束

最新試題
存儲(chǔ)過(guò)程一經(jīng)定義,就可以被反復(fù)調(diào)用,從而實(shí)現(xiàn)了代碼的復(fù)用性、封裝性、高性能等。
題型:判斷題
在以下選項(xiàng)中哪些屬于視圖的功能()
題型:多項(xiàng)選擇題
不同的用戶合理地分配相應(yīng)權(quán)限,能有效控制不同用戶對(duì)不同數(shù)據(jù)的“增刪秘方”權(quán)限,是保護(hù)數(shù)據(jù)的一種有效手段。
題型:判斷題
以下關(guān)于級(jí)聯(lián)刪除描述正確的是()
題型:多項(xiàng)選擇題
參數(shù)的取名可以與數(shù)據(jù)表的列名相同。
題型:判斷題