I'm new at Big Query and I created a column that has a reserved word in one of the tables:
Now that I'm trying to remove it by rewriting the table with a new query, I always get this error:
The syntax i'm using is this:
SELECT * EXCEPT(upsert, delete upsert) FROM 'table' LIMIT 1000
Yes, I created two columns with the names upsert and delete upsert. I couldn't find a way to rename the 'delete upsert' one to, at least 'delete_upsert', and I'm in a pickle, 'cause I don't want to create a new table because of that and lose historical data.
any thoughts that may help me? Thanks in advance! :)
- I was able to remove the column 'upsert' using EXCEPT in a query, but not 'delete upsert' because it has a reserved word
- My expectation is to remove these two columns completely from the table