分类: Sybase
2008-05-17 21:33:11
|
sybase-common-11.9.2-1.i386.rpm 安装Sybase OpenClient sybase-openclient-11.1.1-1.i386.rpm 来源: : rpm --relocate "/opt/sybase-11.9.2"="/home/sybase" -hiv ... 运行 其安装程序为$HOME/bin/srvbuild,需要在Xwindows下运行,已包含在.profile中. 安装PERL DBI DBI-1.xx.tar.gz DBD-Sybase-0.xx.tar.gz
gunzip DBI-1.xx.tar.gz perl Makefile.PL gunzip DBD-Sybase-0.xx.tar.gz
#!/usr/bin/perl my $server = "sybase"; my $dbh = DBI->connect('dbi:Sybase:','sa','',{syb_dbd_server=>$server}); while(($text) = $sth->fetchrow) |