Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 2.95 KB

miscellaneous-files.md

File metadata and controls

29 lines (25 loc) · 2.95 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Miscellaneous Files
Miscellaneous Files
markingmyname
maghan
01/19/2017
sql
ssms
conceptual
files [SQL Server Management Studio], miscellaneous
projects [SQL Server Management Studio], files
solutions [SQL Server Management Studio], files
miscellaneous files folder [SQL Server]

Miscellaneous Files

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW] Files that are external to any project are called miscellaneous files. When you have a solution open, you can open and modify miscellaneous files related to the project. A file is classified as a miscellaneous file if the file extension is not associated with the project code editor. For example, in a [!INCLUDEmsCoName] [!INCLUDEssNoVersion] Scripts Project, files with the extension .txt or .mdx will be treated as miscellaneous files. In an MDX project, files with the extension of .txt or .sql will be treated as miscellaneous files. To associate a file extension with a code editor, see How to: Associate File Extensions to a Code Editor.

There are a number of reasons why it is useful to be able to add miscellaneous files to your project. You might have a file that is not necessarily a recognized script but integral to the solution's development. Common examples include development notes or instructions, data files, and code clips.

Miscellaneous files provide flexibility. For example, suppose you have a [!INCLUDEssNoVersion] Scripts Project that has several scripts for creation of tables and stored procedures in your database. You also have several data files for the tables with file extensions .BCP and execution instructions in a README.TXT file. You can attach the data and the README files as miscellaneous files to the project to take advantage of source control and other features of the project system.

SQL Server Management Studio menus and toolbars change according to the format of the file you open. When you open a text file, for example, the Text Editor toolbar appears. If you open an XML Schema file, the XML Schema toolbar appears. While editing your XML Schema, the Text Editor toolbar is unavailable. When you switch between a project file and a miscellaneous file, all project-related commands and toolbars are replaced by those relevant to the miscellaneous file.

See Also

Files That Manage Solutions and Projects
Solutions (SQL Server Management Studio)
Projects (SQL Server Management Studio)