When importing a csv file, if a column is missing from the imported file (e.g., the user accidentally deletes a column while editing in Excel, and then imports), the importer works without issue; for each row, it uses the values in the file for all other columns, and the missing column gets the default value for that column. If the user is replacing the existing data in the table, this could lead to a lot of accidental data loss.
Is there any way to prevent the import from working if the file is missing columns from the table?
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?