技術 SQL [SQL]updateによる項目更新方法 PR 2015-09-27 2021-10-23 # 前日日付を設定する set @ymd = date(date_add(now(), interval -1 day) ); # 対象テーブルを更新する update test_tbl set date = @ymd where date is null ## 更新対象のデータ内容によりwhere句の条件を決める
技術 [google]NotebookLMを使って、葬送のフリーレンに関する質問をしてみた googleから無料(2024/6/21時点)で利用できるAIチャットボットサービスである「NotebookLM」がリリースされました。 N...
技術 [bigquery]_PARTITION日時をSELECTで表示する方法 SELECT _PARTITIONDATE AS target_date -- AS指定しないとエラーになるので注意 , _PARTITIO...
技術 [Google]webサイトの英文などを翻訳サイトへいかずにそのまま翻訳する方法 プログラムを書いてエラーが出た時にエラーメッセージでググると、スタックオーバーフローのサイトに飛ぶことが多いと思います。英文に慣れてる場合は...
技術 【トレジャーデータ 】よく使うUDFのメモ(随時更新) トレジャーデータ で高速検索を行う場合は、 パーティションの切られているtimeを利用する。また、日付関数はUDFが用意されており、 それを...