Last active
March 6, 2022 11:48
-
-
Save tecmaverick/385c8c7c4b170276a774bf21d9abb645 to your computer and use it in GitHub Desktop.
Redshift Datatype Conversion
This file contains hidden or 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
| SELECT integer '1' id; | |
| SELECT timestamp '2010-10-31 01:00:00' test_datetime; | |
| -- Concat integer to text. Outputs 12 | |
| SELECT 1::text || 2::text concat_demo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment