The headaches end up with whichever poor soul has to write code to read from the resulting spreadsheets masquerading as tables.
Personally as such a poor soul my approach going forward is just to pull data in from spreadsheets directly, parsing out only the data my app needs, and creating my own EF Core tables using code-first to hold the resulting data. This also allows you to do things like validate the data integrity (typoes, etc), set up foreign keys and indices (can't do that on a spreadsheet pretending to be a table, they go away if someone drops and recreate it from a new version of a spreadsheet).
Though if your tool can preserve schema including indices and foreign keys when reimporting a spreadsheet that's definitely more useful than what my group is doing today.
1
u/The_MAZZTer May 15 '22 edited May 15 '22
There are no headaches using Import Data in SSMS.
The headaches end up with whichever poor soul has to write code to read from the resulting spreadsheets masquerading as tables.
Personally as such a poor soul my approach going forward is just to pull data in from spreadsheets directly, parsing out only the data my app needs, and creating my own EF Core tables using code-first to hold the resulting data. This also allows you to do things like validate the data integrity (typoes, etc), set up foreign keys and indices (can't do that on a spreadsheet pretending to be a table, they go away if someone drops and recreate it from a new version of a spreadsheet).
Though if your tool can preserve schema including indices and foreign keys when reimporting a spreadsheet that's definitely more useful than what my group is doing today.