Table of ContentsPreviousNext

Ispirer             Ispirer


Ispirer SQLWays データベース移行ソフトウェア

RIGHT

構文

RIGHT(char_expr, int_expr)

RIGHT はchar_exprの右端からint_expr 文字を返します。

この例ではそれぞれの著者のファーストネームの右5文字を返しています。

SELECT RIGHT(au_fname, 5) 
FROM authors 
Here is the result set: 
_______________

lbert 
Ann
Anne
chael
ichel  

他のデータベースでの同等機能

TABLE 95. 他DBの同等機能
IBM DB2
RIGHT 関数
Oracle
SUBSTR 関数


Table of ContentsPreviousNext
Ispirer             Ispirer
Copyright © 1999-2015 Ispirer Systems Ltd. Ispirer and SQLWays are trademarks of Ispirer Systems Ltd. All other product names may be trademarks of the respective companies. All rights reserved.