当前位置:网站首页>【習題七】【數據庫原理】
【習題七】【數據庫原理】
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中有____恢複、____恢複和大容量日志恢複三種數據庫恢複模式。
答案:簡單,完全
边栏推荐
- With pictures and texts, summarize the basic review of C language in detail, so that all kinds of knowledge points are clear at a glance?
- Flinksql can directly create tables and read MySQL or Kafka data on the client side, but how can it automatically flow and calculate?
- The difference between lambda and anonymous inner class
- The upward and downward transformation of polymorphism
- Unicode查询的官方网站
- TOGAF认证自学宝典V2.0
- Swift5.7 扩展 some 到泛型参数
- Airflow installation jump pit
- Solve the problem of VI opening files with ^m at the end
- CNN MNIST handwriting recognition
猜你喜欢
Xctf mobile--app1 problem solving
并网-低电压穿越与孤岛并存分析
Sword finger offer04 Search in two-dimensional array [medium]
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
Social community forum app ultra-high appearance UI interface
2.8 overview of ViewModel knowledge
Sword finger offer09 Implementing queues with two stacks
Powerful avatar making artifact wechat applet
ncnn神经网络计算框架在香橙派OrangePi 3 LTS开发板中的使用介绍
阿里 & 蚂蚁自研 IDE
随机推荐
Glide 4.6.1 API initial
The upward and downward transformation of polymorphism
alright alright alright
Everything comes to him who waits
Bert running error: attributeerror: module'tensorflow contrib. tpu' has no attribute 'InputPipelineConfig'
The future of cloud computing cloud native
Ali & ant self developed IDE
Eureka自我保护
Lambda表达式
Public and private account sending prompt information (user microservice -- message microservice)
2.8 overview of ViewModel knowledge
OpenStack节点地址改变
Glide question you cannot start a load for a destroyed activity
Pytext training times error: typeerror:__ init__ () got an unexpected keyword argument 'serialized_ options'
Oh my Zsh + TMUX installation
Method overloading and rewriting
Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board
剑指Offer05. 替换空格
阿里大于发送短信(用户微服务--消息微服务)
Applet wxss introduction