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 79. 他のデータベースでの同等機能
Oracle
SUBSTR 関数
Microsoft SQL Server
RIGHT 関数


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.