Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
MySQL Tutorial
Introduction
Select Query
Database
Table
Table Join
Subquery
Insert Update Delete
Logic Operator
View
Data Types
Procedure Function
Cursor
Trigger
Date Time Functions
Comparison Functions Operators
Aggregate Functions
Cast Functions Operators
Control Flow Functions
Encryption Compression Functions
Information Functions
Math Numeric Functions
Miscellaneous Functions
String Functions
Regular Expressions
Data Dictionary
MySQL Utilities
Privilege
CASE « Procedure Function « MySQL Tutorial
MySQL Tutorial
Procedure Function
CASE
11.15.CASE
11.15.1.
For checking a uniform condition you may use the CASE construct
11.15.2.
CASE Statement with Condition Checks
11.15.3.
Using CASE WHEN statement in a procedure
11.15.4.
Using CASE WHEN condition statement in a procedure
11.15.5.
CASE WHEN with ELSE