Skip to content
Advertisement

My last upload of data, the timestamp is off by 2 days, how can I fix it?

So I have a table in Snowflake that I uploaded and made the mistake of uploading some data with the incorrect datetime. The first few columns of the table are different json results, that correspond to the date they were fetched.

Example:

The INSERT was pretty straight forward, I staged the file and inserted it into an already created table.

I want to go in and change the date by two days, and will make a note to change how I am generating the date and data, so I don’t have to do this manually anymore.

Is is possible to correct the column for a certain set of ids instead of a date range like I did below?

Advertisement

Answer

If this is simply a column, then you would use update:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement