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 関数
構文
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
他のデータベースの同等機能