Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GBQ equivalent function

I came across timezone_hour and interval hour functions in teradata.

However not able to find the equivalent function in GBQ. Anyone aware of the same.

0 3 231
3 REPLIES 3

Hey Alexian, 

as per my knowledge, if you are using standard SQL, you can use function DATE(timestamp_expression[timezone]) for converting timezones in BQ.

 
Hope this is going to help. 

 

 

Thanks!!

However above statement is not extracting time_zone hour. 

Got it! Then I think we don't have any equivalent in BigQuery.