Bewerken

Delen via


Move Items in a Solution

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

Project items in SQL Server Management Studio projects are Queries, Connections, and Miscellaneous files. You can move Queries and Miscellaneous Files between projects in Solution Explorer, but Connections cannot be moved.

To move items in Solution Explorer

  1. In Solution Explorer, select the item you want to move.

  2. On the Edit menu, click Cut.

  3. In Solution Explorer, select the destination.

  4. On the Edit menu, click Paste.

You can move items by dragging Query and Miscellaneous files within Solution Explorer. Dragging allows you to see the outcome of the drag operation. Moving queries from one project type to another may cause queries to be considered as miscellaneous files in the target project.

Note

Moving a connected query does not move the connection to the target project. The query will lose its connection after it is moved to the target project.

See Also

Solution Explorer
Copy Items in a Solution