| @@ 480-483 (lines=4) @@ | ||
| 477 | 'b.name = "timestamp"', // Without this line, can retrieve sybase's col info  | 
                                |
| 478 | ),  | 
                                |
| 479 | ));  | 
                                |
| 480 | if (!empty($rs) && 0 < $rs->RowCount())  | 
                                |
| 481 | return $rs->fields['name'];  | 
                                |
| 482 | else  | 
                                |
| 483 | return '';  | 
                                |
| 484 | //select a.name,a.length,a.usertype,b.name AS type from syscolumns a ,systypes b  | 
                                |
| 485 | 			//where id = object_id('ztb_yh') and a.type=b.type and a.usertype = b.usertype | 
                                |
| 486 | ||
| @@ 931-935 (lines=5) @@ | ||
| 928 | ],  | 
                                |
| 929 | ]  | 
                                |
| 930 | );  | 
                                |
| 931 |             if (!empty($rs) && 0 < $rs->RowCount()) { | 
                                |
| 932 | return $rs->fields['name'];  | 
                                |
| 933 |             } else { | 
                                |
| 934 | return '';  | 
                                |
| 935 | }  | 
                                |
| 936 | ||
| 937 |         } elseif ($this->isDbMysql()) { | 
                                |
| 938 | // Check 'type'  | 
                                |