3
Vertica中是否有任何內容可以獲得與Oracle中以下Sql查詢所提供的輸出相同的輸出?將一個時區的日期時間值轉換爲Vertica中的另一個時區
SELECT FROM_TZ(CAST(TO_DATE('1999-12-01 11:00:00',
'YYYY-MM-DD HH:MI:SS') AS TIMESTAMP), 'America/New_York')
AT TIME ZONE 'America/Los_Angeles' "West Coast Time"
FROM DUAL;
West Coast Time
------------------------------------------------
01-DEC-99 08.00.00.000000 AM AMERICA/LOS_ANGELES