2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

BigQueryで括弧なしに呼び出せる関数一覧

Last updated at Posted at 2025-11-30

以下の関数は括弧がなくても呼び出すことができます。

select
  current_timestamp,
  current_datetime,
  current_date,
  current_time,

もちろん括弧があっても呼び出しはできます。

select
  current_timestamp(),
  current_datetime(),
  current_date(),
  current_time(),

引数のない関数は括弧が不要なのかと思いきや、 current_* 系以外の関数は括弧が必須なようです。

--  これはOK
select
  rand(),
  session_user(),
  generate_uuid(),
--  これはNG
select
  rand,
  session_user,
  generate_uuid,
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?