当前位置:网站首页>[exercise 7] [Database Principle]
[exercise 7] [Database Principle]
2022-07-03 12:46:00 【Laughing cold faced ghost】
List of articles
One 、 Single topic selection
1. stay SQL Server What is not an object in is ().
A) user
B) data
C) surface
D) data type
answer :B
2. Variable declared :DECLARE @i int,@c char(4), For now @i assignment 10, by @c assignment ’abcd’, The correct sentence is ().
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’
answer :C
3. stay SQL Server Server , A stored procedure is a set of predefined and () Of Transact-SQL sentence .
A) preservation
B) compile
C) explain
D) To write
answer :B
4. When the 【 】 The positions are break,continue or return when , The output value is ().
DECLARE @n int
SET @n=3
WHILE @n>0
BEGIN
SET @n=@n-1
IF @n=1 【 】
END
PRINT @n
A)1,0, No output
B)1,1,_
C)0,0,0
D)0,1,2
answer :A
Two 、 Completion
1.Transact-SQL Can be used in ____ and ____ Two variables .
answer : local variable 、 Global variables
2. stay Transact-SQL Two types of annotators can be used in : Single-line comments ____ And multiline comments ____.
answer :- - , / * …… * /
3. The command used to declare one or more local variables is ____.
answer :DECLARE
4. Whether stored procedures or triggers , All are ____ Statement and ____ Collection of statements .
answer :SQL, Process control
5、 stay SQL Server There is ____ recovery 、____ Recovery and large volume log recovery are three database recovery modes .
answer : Simple , Completely
边栏推荐
- flinksql是可以直接客户端建表读mysql或是kafka数据,但是怎么让它自动流转计算起来呢?
- How to convert a decimal number to binary in swift
- Using swift language features, write a pseudo-random number generator casually
- 剑指Offer06. 从尾到头打印链表
- ORM use of node -serialize
- Swift return type is a function of function
- Adult adult adult
- 双链笔记·思源笔记综合评测:优点、缺点、评价
- Sword finger offer09 Implementing queues with two stacks
- Swift bit operation exercise
猜你喜欢

2.7 overview of livedata knowledge points

Day 1 of kotlin learning: simple built-in types of kotlin

2.8 overview of ViewModel knowledge

【ManageEngine】IP地址扫描的作用

Cloud Computing future - native Cloud

雲計算未來 — 雲原生

Low code platform international multilingual (I18N) technical solution

The future of cloud computing cloud native

Xctf mobile--rememberother problem solving

Powerful avatar making artifact wechat applet
随机推荐
lambda与匿名内部类的区别
JVM内存模型
Powerful avatar making artifact wechat applet
【判断题】【简答题】【数据库原理】
剑指Offer05. 替换空格
studio All flavors must now belong to a named flavor dimension. Learn more
It feels great to know you learned something, isn‘t it?
Sword finger offer07 Rebuild binary tree
最新版抽奖盲盒运营版
Lambda表达式
Drop down refresh conflicts with recyclerview sliding (swiperefreshlayout conflicts with recyclerview sliding)
Is it OK to open an account for online stock speculation? Is the fund safe?
(latest version) WiFi distribution multi format + installation framework
2020-10_ Development experience set
Node.js: express + MySQL的使用
How to stand out quickly when you are new to the workplace?
雲計算未來 — 雲原生
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
Xctf mobile--app1 problem solving
02_ Lock the code, and don't let the "lock" become a worry