Use this window to define an SQL query to view the data in a database to test queries or to test operations performed by your application on a database. To open this window, in the , expand the Databases node and the database-name node, right-click a table, and choose View Data.
Some things you can do in this window:
Within a given window, the database connection is established when a query is first run. The connection stays open until you close the window. Each SQL Command window has its own database connection.