- 论坛徽章:
- 0
|
执行以下perl脚本:
#!env perl -w
#Author: autoCreated
sub getUsers()
{
my $string = "";
$s = qx{dbaccess ol_informix1170<<EOF
select * from sysusers;
EOF};
print "s=$s";
}
getUsers();
提示 :Database not found or no system permission.
ISAM error: no record found.
--------------------------------------------------------------------------
ol_informix1170 是安装informix时默认建的一个库;因为我只需要获取系统表的一些信息来判断informix是否做了安全加固,所以没有业务库
初次接触informix,请大拿们指点一下:如何获取informix的系统表数据;小弟需要的数据有:
select * from sysusers;
select systables.tabname, systabauth.* from systables, systabauth
where systables.tabid = systabauth.tabid and systables.tabid >99 order by tabname; |
|