Link to home
Start Free TrialLog in
Avatar of Mike M
Mike M

asked on

Unable to attach SQL Server 2014 Data and log files to SQL Server 2017 via SQL Mgmt Studio

Microsft SQL Server 2017 - Attaching to 2014 database files.

I need to attach the DB data and log files from a former server (no longer avail).  The files are SQL 2014.  When attempting to attach to the database, I can specify the Data file, but the option to specify the existing log file is not available.  If I proceed it attempts to create a new log file.  What steps should be done to include the old log file to get the entire DB?

Clarification: Scripting works fine.  I'm wondering about the newer interface on SSMS not having the section to specify the log file location.
Avatar of arnold
arnold
Flag of United States of America image

Have not worked with SQL 2017, check whether when attaching, there is an option to add ..
It might be overlooked.

The other depending on the size of the Giles, using SQL server  2014 express
Attach , backup, restore on the 2017 instance
After selecting the database file you should still see a list of files and locations you can edit.
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial