How to: Drag and Drop Text
You can select text and then drag and drop it in another location. You can drag and drop text:
- From Object Explorer into the editor to create a query.
- From one location to a different location in the current editor.
- Between editors.
- To the Microsoft Windows Recycle Bin.
To drag and drop text
Select the text you want to move, either with the mouse or with the keyboard.
Left-click the highlighted text and continue holding down the mouse button.
Move the mouse cursor to the destination where you want to place the text.
Release the mouse button to drop the text.
Dragging text moves it; that is, the text is erased from the old location and moved to the new location. Pressing the CTRL key while dragging text copies it to the new location. Dragging an object from Object Explorer is an exception and does not delete the object name from Object Explorer.
See Also
Concepts
Other Resources
Editing Scripts and Files in SQL Server Management Studio