Hi every one,
I need Script for Attached MDF file, my sql server not supporting this MDF version, giving an microsoft error 948.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Andrew JacksonRank #4,584 · 336 reputationPosted Sep 11, 2017, 1:13 AM EDT
which is capable to convert .mdf to .sql as the tool can easily work on offline MDF/NDF database file.
Manish KumarRank #1,622 · 956 reputationPosted Sep 11, 2017, 2:52 AM EDT
Mahima Gupta5 reputationPosted May 24, 2018, 12:30 AM EDT
Hi after following these steps you can do convert MDF files into SQL scripts. These steps I referred from this blog - https://www.sysinfotools.com/blog/convert-mdf-to-sql-script/
Step 1: Click on ‘Start’ – All programs – SQL Server – SQL Server Management Studio
Step 2: Now go to SQL Server name and clock on the left side of the screen and then click on New Query>
Step 3: Copy the command code into the SQL command console
Step 4: Now replace the old database with the new one and rename it.
Step 5: And press F5 to execute the process.
Manish KumarRank #1,622 · 956 reputationPosted May 24, 2018, 1:12 AM EDT
Surendra KandiraRank #2,956 · 488 reputationPosted Oct 22, 2015, 12:44 AM EDT
Arun Kumar41 reputationPosted Oct 29, 2015, 8:25 PM EDT