In some scripting languages, such as Windows Powershell and SQL script, you can run selected statements without running the entire script.
You can use this feature to test part of your code, or to isolate a logic error.
To run selected statements
•Select the statements > right-click and then click Execute selection in Powershell:
See also: