Last active
April 23, 2019 08:14
-
-
Save doryokujin/0814a086c59e5e21da3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean TD_TIME_RANGE(int/long unix_timestamp, int/long/string start_time, int/long/string end_time [, string default_timezone = 'UTC']) | |
-- (例)2013年のデータを取得 | |
SELECT ... WHERE TD_TIME_RANGE(time, "2013-01-01 JST", "2014-01-01 JST") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment