IT

環境
Windows11 pro 64bit
ruby 3.0.3p157

構文
文字列.lstrip
文字列の左側にある半角空白を除去するには「lstrip」関数を使用します。 ...

IT

環境
Windows11 pro 64bit
ruby 3.0.3p157

構文
改行を除去するには「chomp」を使用します。
open(“ファイル名”).each ...

IT

環境
Windows11 pro 64bit
ruby 3.0.3p157

redis-objectsライブラリをインストールします
gem install redis-objects

...

IT

環境
Windows11 pro 64bit
ruby 3.0.3p157

構文
.grep(/条件式/)
正規表現を使用すると、指定した値を抽出します。
元の配列は影響を受けません ...

IT

環境
Windows11 pro 64bit
ruby 3.0.3p157

構文
rand(数値)
# 乱数範囲は 0 ~ 数値 – 1
randを使用すれば、乱数を生成 ...

IT

環境
CentOS Stream release 9
MariaDB 10.10.2

構文
INET_NTOA()
ビッグ・エンディアンからIPアドレスを抽出するには、「INET_NTOA( ...

IT

環境
CentOS Stream release 9
MariaDB 10.10.2

構文
ANALYZE TABLE table_name
indexの最適化を行うには、「ANALYZE ...

IT

環境
CentOS Stream release 9
MariaDB 10.10.2

構文
JSON_ARRAYAGG(カラム名)
各レコードのデータをjson配列で取得するには、「JSON ...

IT

環境
CentOS Stream release 9
MariaDB 10.10.2

構文
SELECT
COUNT(カラム名), COUNT(カラム名 = 条件 or null)

IT

環境
CentOS Stream release 9
MariaDB 10.10.2

構文
select *
from information_schema.INNODB_BUFFER_PA ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
ALTER USER ユーザー名
IDENTIFIED BY &# ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
RENAME シノニム名 TO 変更後シノニム名;
シノニムをリネ ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

エラー現象
> sqlplus cft/pwd@SAMPLEPDB

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
GREATEST(値1,値2, …)
最大値を取得する ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

エラー現象
次のコマンドの開始中にエラーが発生しました : 行 1 – ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
# 停止
shutdown immediate

# 起 ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
ALTER DATABASE 表領域名 READ ONLY;
表領 ...

IT

環境
Windows11 pro 64bit
Oracle Database 21c Express Edition

構文
CREATE MATERIALIZED VIEW LOG ON 対象テーブ ...