Translation: DECLARE Variable (submitted to the MariaDB official Manual), variablemariadb
This article is a translation of the mariadb official manual: DECLARE Variable.
Original article:
This is the official manual of MARIADB: DECLARE variable.Original:https://mariadb.com/kb/en/library/declare-variable/I submit it to MARIADB official manual:https://mariadb.com/kb/zh-cn/declare-variable/Grammar:DECLARE var_name [, var_name] ... type [
There are several types of variables in MYSQL/MARIADB: User-defined variables, system variables, general temporary variables (local variables, or local variables).1. User VariablesUser variables are session-based and user-based, so I think it's more
FunctionA function is to encapsulate a piece of code in a struct, and invoke the struct (function) directly when it is necessary to execute the code. This operation enables the reuse of code. In MySQL, there are two kinds of functions: system
Storage functionsNote: Parameters can have more than one parameter, and there must be only one return value.1. System functionsReference Official Document: Https://dev.mysql.com/doc/refman/5.7/en/func-op-summary-ref.html2. Custom Function
Variableprogram = instruction (read-only) + data (location variables, lists, arrays of data stores)Directives can be called through positional variables, and data passed to the scriptA variable name can refer to a "named Memory Space": The memory
Variableprogram = instruction (read-only) + data (location variables, lists, arrays of data stores)Directives can be called through positional variables, and data passed to the scriptA variable name can refer to a "named Memory Space": The memory
Objective:Automatically deploy Lnamp with Ansible for highly available nginx reverse server, central http+php provides Web services, backend links to the same MySQL databaseLab Environment:Ansible Host: 10.0.0.10/8Nginx (main): 10.0.0.11/8Nginx
Saltstack Configuration ManagementSaltstack configuration management, also known as state management, Saltstack cannot rollback a state. When we write the SLS file, to support multiple executions, such as: Write the Software Installation module,
Shell script programming and file system RepairGuideThe Linux Foundation has initiated the LFCS certification (Linux Foundation Certification System Administrator) Linux Foundation Certified Sysadmin, which is a brand new certification system, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.