用perl的DBI模块操作数据库,怎么获取字段名称、字段类型,谢谢~ maxxfire 发表于 2011-08-23 09:57
$dbh->do("desc table"); 兰花仙子 发表于 2011-08-23 10:25
能不能在select查询返回时就获取字段名、字段类型,比如 “select field1, field2 from table” maxxfire 发表于 2011-08-23 11:02