You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The `-p[1]` flag prints performance statistics after each result set. Use `-p` for human-readable format or `-p1` for colon-separated format suitable for scripts.
167
+
168
+
```
169
+
1> select 1
170
+
2> go
171
+
172
+
-----------
173
+
1
174
+
175
+
(1 row affected)
176
+
Network packet size (bytes): 4096
177
+
1 xact(s):
178
+
Clock Time (ms.): total 15 avg 15 (66.67 xacts per sec.)
179
+
```
180
+
166
181
-`sqlcmd` supports shared memory and named pipe transport. Use the appropriate protocol prefix on the server name to force a protocol:
167
182
*`lpc` for shared memory, only for a localhost. `sqlcmd -S lpc:.`
168
183
*`np` for named pipes. Or use the UNC named pipe path as the server name: `sqlcmd -S \\myserver\pipe\sql\query`
0 commit comments