Databases Reference
In-Depth Information
Figure 5-4.
Executing a SELECT
Press the Enter key on line
1>
to create a new line and execute the
SELECT
query. Type
GO
on line
2>
and press
Enter to execute all statements since the last
GO
statement (see Figure
5-4
). Figure
5-5
shows the results of the sqlcmd
query entered. As you can see, executing a query isn't difficult.
Figure 5-5.
Sqlcmd query results