- 论坛徽章:
- 0
|
use Win32::ODBC连接到一台sql server2000 的机器,
执行$dbh->Sql("exec sp_Monitor")后,
用while($dbh->FetchRow()){
@ha = $dbh->Data() }只能返回第一行,
请问各位高手如何返回第二行或者其它行
>exec sp_monitor;
last_run current_run seconds
−−−−−−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−
Aug 3 1998 12:05AM Aug 3 1998 12:05AM 1
cpu_busy io_busy idle
−−−−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−
0(0)−0% 0(0)−0% 40335(0)−0%
packets_received packets_sent packet_errors
−−−−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−
1648(0) 1635(0) 0(0)
total_read total_write total_errors connections
−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−−−−−
391(0) 180(0) 0(0) 11(0) |
|