daniel_bartley6's avatar
daniel_bartley6
New Member
9 years ago
Status:
Needs Votes

Query error handling if exists

I have a fleet of files connected to sql databases. If we had redundant columns in the source we sometimes removed them using the power query "remove columns" feature. The gotcha is that if you later remove the columns from the source system, the query breaks because it cant find the columns to remove them. Syntax similar to the 'DROP column IF EXISTS' would be more resilient and easy to understand.

Recent ideas