当前位置:网站首页>[DB written interview 366] stored procedures are codes stored in the database and have many advantages. Among the following statements, which are not the advantages of stored procedures are ()
[DB written interview 366] stored procedures are codes stored in the database and have many advantages. Among the following statements, which are not the advantages of stored procedures are ()
2022-06-21 08:14:00 【DBA collection of Wheat Seedlings】
Q
subject
A stored procedure is code stored in a database , It has many advantages . The advantage of the following statement that is not a stored procedure is ()
A、 The performance of data operation can be improved by precompiling mechanism
B、 It is convenient to express data by user view
C、 It can reduce the network traffic of client and server
D、 It can realize certain security control
A
answer
In this question , For options A, Stored procedures can be compiled and run many times in the database , Therefore, the compilation time can be reduced when multiple calls are made , To improve efficiency , So options A Your description is correct . therefore , Options A error .
For options B, It is convenient to express data by user view , This is the function of the view, not the function of the stored procedure , So options B Wrong description of . therefore , Options B correct .
For options C, Stored procedures are defined by a large number of users SQL Statements are stored in the database , The user only needs to complete the call by the name of the stored procedure , In other words, when calling, you only need to transfer the name and parameters of the called stored procedure to the database through the network , Without the need to transmit a large number of SQL sentence , Therefore, the network traffic is reduced , So options C The description is correct . therefore , Options C error .
For options D, Because stored procedures encapsulate SQL Code , Therefore, certain safety control can be realized , The description is correct . therefore , Options D error .
therefore , The answer to this question is B.
DB Written interview history link
http://mp.weixin.qq.com/s/Vm5PqNcDcITkOr9cQg6T7w |
|---|
About Me: Wheat seedling
● The author of this article : Wheat seedling , Just focus on Database Technology , Pay more attention to the application of Technology
● Author's blog address :http://blog.itpub.net/26736162/abstract/1/
● The title of this series comes from the author's study notes , Partially collated from the network , If there is any infringement or improper place, please understand
● copyright , Welcome to share this article , Reprint please keep the source
● If there is anything wrong with the answer to the question , I also hope that you can criticize and correct , Common progress
边栏推荐
- Detailed introduction to PHP classes and objects
- Markdown rule for writing articles
- Cluster hui dsm7 add suite source
- For hand drawn graphics, covering multiple topics, CVPR 2022 sketchdl workshop begins to solicit contributions!
- You can't use typescript generics after reading it. Come to me for yyds dry inventory
- Global and Chinese market of Toro from 2022 to 2028: Research Report on technology, participants, trends, market size and share
- FD:文件描述符
- Summary of command execution knowledge points in CTF
- An improvement of the code in the article "Walkthrough: creating paged data access using web form pages" in MSDN
- Global and Chinese market for online automatic optical inspection 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Haidilao is expected to have an annual net loss of 3.8 billion to 4.5 billion and close more than 300 stores

Solve the problem that Jenkins cannot save the configuration after upgrading

PS prompts "script error -50 general Photoshop error, how to solve it?

Le Code est correct, mais les données de la base de données ne sont pas affichées.

图解 Google V8 # 14:字节码(二):解释器是如何解释执行字节码的?

2021-06-16 STM32F103 EXTI 中断识别 使用固件库

Weekly update | showmebug officially launched Tencent conference audio and video

Yyds dry goods inventory rapid establishment of CEPH cluster

CTF show WEB10

图解 Google V8 # 15:隐藏类:如何在内存中快速查找对象属性?
随机推荐
群暉DSM7添加套件源
How to write attractive titles for short videos? Learn these tips to make your title more convincing
2022-2028 global postoperative pressure suit industry research and trend analysis report
2021-07-28 STM32F103 I2C Hardware Transfer Include previous IO Clock EXIT USB use firmware library
How to exit quickly if the application is stuck?
[Redis]-[Redis底层数据结构]-字典
/home/ljx/miniconda3/compiler_ compat/ld: cannot find crtbeginS. o: There is no such file or directory
2022-2028 global section valve industry research and trend analysis report
Figure neural network and cognitive reasoning - Tang Jie - Tsinghua University
[redis]-[redis underlying data structure] - Dictionary
Practical application cases of digital Twins - coal mine
CTF show WEB10
【元宇宙3d大赛】
2022-2028 global after sales spark plug industry research and trend analysis report
Illustration Google V8 14: bytecode (2): how does the interpreter interpret and execute bytecode?
Summary of command execution knowledge points in CTF
Three ways to solve cross domain problems
Illustration Google V8 15: Hidden classes: how to quickly find object attributes in memory?
测试入门——软件测试模型
PHP类与对象详细介绍