Hi,
You can use Recover SQL Database tool. Just browse your MDF file in the tool and export the entire SQL data to Live SQL Server environment.
Also Read this post
You can try the SQL Database Recover software to attach damaged and corrupt SQL database without transaction log file. It is fully capable to export all the SQL database objects such as tables, views, triggers, stored procedures, indexes, rules, etc. in just a few minutes. Both technical or non-technical user can easily use this software without any technical skill and it provide an enhanced easy to use interface to make this software fast and simple.
The software offers following features:
Repair damaged or corrupted SQL Database files
Recover deleted SQL database objects and table records easily
Export recovered data either in SQL Server database or SQL Server compatible script format
Enables users to preview recovered database before saving them
Allow users to preview deleted database objects and SQL table records in red color
Support all versions of Microsoft SQL Server like 2019, 2017, 2016, 2014 & below
There are various methods by which you can recover SQL database. It’s better to use the SQL database recovery tool to recover the SQL data. With the tool, you can recover all the SQL data without any issue.