How can I open and view *.NDF files?

Charlene Beckie 1 Reputation point
2022-08-04T21:55:25.597+00:00

I am trying to open and view several *.NDF files. Please let me know the easiest way to do this in MS Azure.

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2022-08-05T14:53:28.587+00:00

    An NDF data file is a secondary data file and a secondary data file exists always associated with a primary data file (.mdf file).

    Using a tool like SQL Server Management Studio (SSMS) you can open a .NDF file by attaching the whole database it belongs to including its associated primary data file. However, you cannot view secondary data files directly in SSMS without attaching its associated .mdf file also

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.