うまい手が見つからなかったので、以下のようにしています。
select
substring(col, 1, length(col) - N)
from table_schema.table
;
めんどくさくて公式のドキュメント見ていないですが、もしかしてちゃんとメソッドがあるのだろうか…
More than 5 years have passed since last update.
うまい手が見つからなかったので、以下のようにしています。
select
substring(col, 1, length(col) - N)
from table_schema.table
;
めんどくさくて公式のドキュメント見ていないですが、もしかしてちゃんとメソッドがあるのだろうか…
Register as a new user and use Qiita more conveniently