ELT(N,str1,str2,str3,...) : ELT : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » ELT »

 

ELT(N,str1,str2,str3,...)


Returns NULL if N is less than 1 or greater than the number of arguments.

ELT() is the complement of FIELD().

mysql>
mysql> SELECT ELT(1'A''B''C''D');
+----------------------------+
| ELT(1'A''B''C''D'|
+----------------------------+
| A                          |
+----------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» ELT