当前位置:网站首页>【習題七】【數據庫原理】
【習題七】【數據庫原理】
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中有____恢複、____恢複和大容量日志恢複三種數據庫恢複模式。
答案:簡單,完全
边栏推荐
- Computer version wechat applet full screen display method, mobile phone horizontal screen method.
- Tensorflow binary installation & Failure
- 剑指Offer09. 用两个栈实现队列
- Official website of Unicode query
- Sword finger offer07 Rebuild binary tree
- initial、inherit、unset、revert和all的区别
- JVM内存模型
- Approve iPad, which wants to use your icloud account
- temp
- idea将web项目打包成war包并部署到服务器上运行
猜你喜欢

The latest version of blind box mall thinkphp+uniapp

如何在微信小程序中获取用户位置?

Application of ncnn neural network computing framework in orange school orangepi 3 lts development board

电压环对 PFC 系统性能影响分析

The future of cloud computing cloud native

(latest version) WiFi distribution multi format + installation framework

GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈

Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board

剑指Offer05. 替换空格

LeetCode 0556. Next bigger element III - end of step 4
随机推荐
Kotlin notes - popular knowledge points asterisk (*)
Kubectl_ Command experience set
[ArcGIS user defined script tool] vector file generates expanded rectangular face elements
十条职场规则
2.9 overview of databinding knowledge points
记录自己vulnhub闯关记录
双链笔记·思源笔记综合评测:优点、缺点、评价
Applet wxss introduction
基于Linu开发的项目视频
【综合题】【数据库原理】
Low code platform international multilingual (I18N) technical solution
Export the entire Oracle Database
Swift return type is a function of function
Xctf mobile--app2 problem solving
ncnn神經網絡計算框架在香柳丁派OrangePi 3 LTS開發板中的使用介紹
Simple use and precautions of kotlin's array array and set list
Tianyi ty1208-z brush machine detailed tutorial (free to remove)
2.7 overview of livedata knowledge points
02_ Lock the code, and don't let the "lock" become a worry
Eureka自我保护