Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 3.09 KB

File metadata and controls

33 lines (28 loc) · 3.09 KB
title Miscellaneous Files
ms.custom seo-lt-2019
ms.date 01/19/2017
ms.prod sql
ms.prod_service sql-tools
ms.reviewer
ms.technology ssms
ms.topic conceptual
helpviewer_keywords
files [SQL Server Management Studio], miscellaneous
projects [SQL Server Management Studio], files
solutions [SQL Server Management Studio], files
miscellaneous files folder [SQL Server]
ms.assetid 3c952b0b-8f5f-4d86-9e5d-616c10b9df0d
author markingmyname
ms.author maghan

Miscellaneous Files

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md] 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.

[!INCLUDEssManStudioFull] 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)