runtime_begin();
$db2 = $this->load->database('firebird', true);
echo "<hr>connect time = ".RunTime_End().'
';
$query = $db2->query("select * from TVHC");
echo "<hr>query time = ".RunTime_End().'
';
$i = 0;
foreach ($query->result() as $row)
{
$i++;
if ($i>20)
break;
echo $row->FID . ' ';