Table of ContentsPreviousNext

Ispirer             Ispirer


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

LEFT

構文

LEFT(char_expr, int_expr)

LEFT は char_expr の左端の int_expr 文字を返します。

この例ではそれぞれの本のタイトルの左5文字を返します。

SELECT LEFT(title, 5) 
FROM TITLES; 
Here is the result set: 
_______
The B 
Cooki
You C 
The G 
The P  

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

TABLE 77. 他のデータベースの同等機能
Oracle
SUBSTR 関数
Microsoft SQL Server
LEFT 関数


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.