Executing selected queries in SQL Server

 

 

When you're working with queries in SQL Server Query Analyzer, you can write all of your SQL statements in the Query window. To run only selected query statements (instead of all), highlight the ones you want to run with your mouse, then click on Run Query or press [Ctrl]E. You can also use this technique to debug your SQL  scripts. By selecting specific statements, you can test them individually rather than running the entire script. 

  

SQL Index

Main Index

Search RD Techbase