Case has two formats. Simple case function and case search function.--Simple Case function Case Sex When ' 1 ' Then ' men ' When ' 2 ' then ' women ' Else ' other ' END --case search function case If sex = ' 1 ' Then ' man ' When sex = ' 2 '
Case has two formats. Simple case function and case search function.--Simple Case function Case Sex When ' 1 ' Then ' men ' When ' 2 ' then ' women ' Else ' other ' END --case search function case If sex = ' 1 ' Then ' man ' When sex = ' 2 '
First, Select case syntax and parameter introduction
Select Case testexpression
[Case Expressionlist-n
[Statements-n]] ...
[Case Else
[Elsestatements]]
End Select
The syntax for the Select case statement has the following sections:
Case has two formats. Simple case function and case search function. Simple case function Case sex when ' 1 ' THEN ' man ' when ' 2 ' THEN ' Else ' other ' end--case search function case when sex = ' 1 ' THEN ' man ' when sex = ' 2 ' THEN ' woman '
Overview:The case statement in the SQL statement and the switch statement in the high-level language are standard SQL syntax, and are suitable for a condition that has multiple values to perform different operations, respectively.First, let's look
UML use case Diagrams: guidelines
Released: 2012-3-21
In Visual Studio flagship edition, you can draw a use case diagram to summarize the users of your
A recent online module has a memory leak, added HTTP pprof, found that Goroutine has been growing, suspected goroutine leakage caused by memory leaks. Then die looking at the code and find that the following code fragment may have a
This is a creation in
Article, where the information may have evolved or changed.
Select can be used to manage multiple channel reads and writes, as well as channel read-write timeout. Select is not provided as a library, but is a language-level
In VFP, you can use SQL statements to manipulate tables, and you do not need to open the database when you use SQL statements to manipulate tables. This example describes the Select query statement (data retrieval), and the format of the SELECT
I. Shell Condition Statement (if usage)
If statement structure [if/then/Elif/else/FI]
If condition test statement
Then
Action
[Elif Condition
Action
Else
Action
]
Fi
If you are not clear about the conditional test statement, refer to:
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.