In my last post, we worked out how to change the data type of a field if it already existed and was found to need changing. This time, I want to add a fresh, new column to an existing table. In SQL Server, I would be doing something like the following. ALTER TABLE dbo.TestTable ADD…… Continue reading Getting New and Old Columns to a Table
Month: September 2024
How to Efficiently Change Data Types in Snowflake for Optimal Performance
When working with data, I usually have an idea of what type of data I will push into a field. Sometimes, for whatever reason, it is decided to change the type of data allowed in the field. Today, I want to show how that’s done in Snowflake. I will start out working with a simple…… Continue reading How to Efficiently Change Data Types in Snowflake for Optimal Performance