The SINGLE=TRUE
option ensures that all the data is written into a single file instead of multiple files when unloading data using COPY INTO
. This guarantees that the output file will have the exact name specified by the user.
The file_extension option must be used to specify the exact file extension (e.g., .csv) for the unloaded file. By default, if the SINGLE option in the COPY INTO command is set to TRUE, Snowflake unloads a single file without a file extension.
The SINGLE=TRUE
option ensures that all the data is written into a single file instead of multiple files when unloading data using COPY INTO
. This guarantees that the output file will have the exact name specified by the user.
The file_extension option must be used to specify the exact file extension (e.g., .csv) for the unloaded file. By default, if the SINGLE option in the COPY INTO command is set to TRUE, Snowflake unloads a single file without a file extension.