当前位置:网站首页>【習題七】【數據庫原理】
【習題七】【數據庫原理】
2022-07-03 12:45:00 【愛笑的冷面鬼】
一、單選題
1.在SQL Server 中不是對象的是()。
A)用戶
B)數據
C)錶
D)數據類型
答案:B
2.聲明了變量:DECLARE @i int,@c char(4),現在為@i賦值10,為@c賦值’abcd’,正確的語句是()。
A)SET @i=10, @c=‘abcd’
B)SET @i=10, SET @c=‘abcd’
C)SELECT @i=10, @c=‘abcd’
D)SELECT @i=10, SELECT @c=‘abcd’
答案:C
3.在SQL Server服務器上,存儲過程是一組預先定義並()的Transact-SQL語句。
A)保存
B)編譯
C)解釋
D)編寫
答案:B
4.當以下代碼中的【 】比特置分別為break,continue或return時,輸出的值為()。
DECLARE @n int
SET @n=3
WHILE @n>0
BEGIN
SET @n=@n-1
IF @n=1 【 】
END
PRINT @n
A)1,0,不輸出
B)1,1,_
C)0,0,0
D)0,1,2
答案:A
二、填空題
1.Transact-SQL中可以使用____和____兩種變量。
答案:局部變量、全局變量
2.在Transact-SQL中可以使用兩類注釋符:單行注釋____和多行注釋____。
答案:- - , / * …… * /
3.用於聲明一個或多個局部變量的命令是____。
答案:DECLARE
4.無論是存儲過程還是觸發器,都是____語句和____語句的集合。
答案:SQL,流程控制
5、在SQL Server中有____恢複、____恢複和大容量日志恢複三種數據庫恢複模式。
答案:簡單,完全
边栏推荐
- 剑指Offer05. 替换空格
- Xctf mobile--rememberother problem solving
- Openstack node address change
- elastic_ L01_ summary
- Record your vulnhub breakthrough record
- Low code platform international multilingual (I18N) technical solution
- Application of ncnn neural network computing framework in orange school orangepi 3 lts development board
- Bert running error: attributeerror: module'tensorflow contrib. tpu' has no attribute 'InputPipelineConfig'
- Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
- Sword finger offer05 Replace spaces
猜你喜欢

Sword finger offer05 Replace spaces

Eureka自我保护

Sword finger offer07 Rebuild binary tree

Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?

Attack and defense world mobile--ph0en1x-100

【数据库原理复习题】

Use bloc to build a page instance of shutter
![[ManageEngine] the role of IP address scanning](/img/dc/df353da0e93e4d936c39a39493b508.png)
[ManageEngine] the role of IP address scanning

Xctf mobile--rememberother problem solving

Low code platform international multilingual (I18N) technical solution
随机推荐
Apache Mina开发手册
Xctf mobile--app1 problem solving
2020-11_ Technical experience set
temp
Do you feel like you've learned something and forgotten it?
Adult adult adult
公纵号发送提示信息(用户微服务--消息微服务)
最新版抽奖盲盒运营版
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
Use Tencent cloud IOT platform to connect custom esp8266 IOT devices (realized by Tencent continuous control switch)
ImportError: No module named examples. tutorials. mnist
Official website of Unicode query
Using swift language features, write a pseudo-random number generator casually
并网-低电压穿越与孤岛并存分析
The latest version of lottery blind box operation version
Glide question you cannot start a load for a destroyed activity
Node.js: express + MySQL的使用
Is it OK to open an account for online stock speculation? Is the fund safe?
Applet wxss introduction
Solve the problem of VI opening files with ^m at the end