Table of ContentsPreviousNext

Ispirer             Ispirer


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

LENGTH

構文

LENGTH(string_expr)

LENGTH は与えられた文字式の文字の数を返します。

この例では、company name および 各companyの名前の文字数を返しています。

SELECT CompanyName, LENGTH(CompanyName)
FROM CUSTOMERS

結果セットは以下の通りです: 
CompanyName   
_______________________________
Consolidated Holdings       	 21
Eastern Connection           	18
France restauration          	19
Great Lakes Food Market      	23
Island Trading               	14
Let's Stop N Shop            	17 

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

TABLE 82. 他DBでの同等機能
IBM DB2
LENGTH 関数
Microsoft SQL Server
LEN 関数


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.