当前位置:网站首页>[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 Tencent cloud IOT platform to connect custom esp8266 IOT devices (realized by Tencent continuous control switch)
- How to convert a decimal number to binary in swift
- 雲計算未來 — 雲原生
- Swift5.7 extend some to generic parameters
- Sword finger offer06 Print linked list from end to end
- Openstack node address change
- (latest version) WiFi distribution multi format + installation framework
- Exploration of sqoop1.4.4 native incremental import feature
- Tensorflow binary installation & Failure
- Sword finger offer10- I. Fibonacci sequence
猜你喜欢

云计算未来 — 云原生

Node.js: express + MySQL的使用

Analysis of a music player Login Protocol

Xctf mobile--rememberother problem solving

ncnn神经网络计算框架在香橙派OrangePi 3 LTS开发板中的使用介绍

Glide question you cannot start a load for a destroyed activity

Attack and defense world mobile--ph0en1x-100

The future of cloud computing cloud native

强大的头像制作神器微信小程序

剑指Offer07. 重建二叉树
随机推荐
Xctf mobile--app3 problem solving
【综合题】【数据库原理】
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
1-2 project technology selection and structure
Prompt unread messages and quantity before opening chat group
Xctf mobile--app2 problem solving
十条职场规则
Oh my Zsh + TMUX installation
Lambda expression
CNN MNIST handwriting recognition
Analysis of a music player Login Protocol
Write a simple nodejs script
Is it OK to open an account for online stock speculation? Is the fund safe?
Swift5.7 扩展 some 到泛型参数
Sword finger offer03 Repeated numbers in the array [simple]
The solution to change the USB flash disk into a space of only 2m
Official website of Unicode query
启用MemCached的SASL认证
Project video based on Linu development
Low code platform international multilingual (I18N) technical solution