当前位置:网站首页>[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
边栏推荐
- Use bloc to build a page instance of shutter
- Self made pop-up input box, input text, and click to complete the event.
- What is more elegant for flutter to log out and confirm again?
- Sword finger offer09 Implementing queues with two stacks
- alright alright alright
- 剑指Offer07. 重建二叉树
- 基于Linu开发的项目视频
- The future of cloud computing cloud native
- temp
- Swift5.7 扩展 some 到泛型参数
猜你喜欢
![[ArcGIS user defined script tool] vector file generates expanded rectangular face elements](/img/39/0b31290798077cb8c355fbd058e4d3.png)
[ArcGIS user defined script tool] vector file generates expanded rectangular face elements

Powerful avatar making artifact wechat applet

雲計算未來 — 雲原生

2.7 overview of livedata knowledge points

The future of cloud computing cloud native

剑指Offer09. 用两个栈实现队列

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

基于同步坐标变换的谐波电流检测

Alibaba is bigger than sending SMS (user microservice - message microservice)

社交社区论坛APP超高颜值UI界面
随机推荐
Social community forum app ultra-high appearance UI interface
Comprehensive evaluation of double chain notes · Siyuan notes: advantages, disadvantages and evaluation
How to convert a decimal number to binary in swift
elastic_ L01_ summary
Everything comes to him who waits
Adult adult adult
The latest version of lottery blind box operation version
Nodejs+express+mysql realizes login function (including verification code)
RedHat5 安装Socket5代理服务器
Enter the length of three sides of the triangle through the user, and calculate the area of the triangle, where the length is a real number
Project video based on Linu development
Do you feel like you've learned something and forgotten it?
Method overloading and rewriting
最新版盲盒商城thinkphp+uniapp
studio All flavors must now belong to a named flavor dimension. Learn more
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
Applet wxss introduction
Sword finger offer09 Implementing queues with two stacks
Ali & ant self developed IDE
T430 toss and install OS majave 10.14