Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

LEN (SQL)

文字列式の文字の数を返す文字列関数です。

Synopsis

LEN(string-expression)

引数

引数 説明
string-expression 列の名前、文字列リテラル、他のスカラ関数の結果などを表すことができる文字列式。基本となるデータ型は、任意の文字タイプ (CHAR や VARCHAR など) とすることができます。

LEN は、INTEGER データ型を返します。

概要

Note:

LEN 関数は LENGTH 関数の別名です。LEN は、TSQL の互換性を持たせるために提供されています。詳細は "LENGTH" を参照してください。

関連項目

FeedbackOpens in a new tab