I'm switching versions of SQL Server (2014 to 2019) in a company that has over 3.000 databases. Migration system keeps crashing on me so I feel like the best way is to just copy the files and attach to the new server, the problem is SSMS can only attach 1 by 1 and it's over 3k companies.
Any way or script to do it by bulk? Attach every .MDF
database file in a folder to my server?