Hermann Altmann writes:
> Hi,
>
> Each time I connect to a MSSQL 7.0 Database via
>
> $dbh = DBI->connect("dbi:Sybase:server=$dbserv;database=$dbname",
> $dbuser, $dbpass, {AutoCommit => 0 }) || die $DBI::errstr;
>
> I get the messages on stderr:
>
> Datenbankkontext auf 'master' ge�ndert.
> Changed language setting to us_english.
> Changed database context to 'mydb'.
>
> Does anyone know how to suppress these lines?
> (PrintError=>0, or RaiseError=>0 won't help).
Check the FreeTDS mailing list. The problem is that due to
big-endian/small-endian issues the error numbers for the two messages
that you get aren't getting set correctly in the DBD::Sybase code on
the Solaris side, so the handler doesn't recognize these messages to
be able to suppress them.
I think that the latest FreeTDS snapshot handles this correctly.
Michael
--
Michael Peppler Data Migrations, Inc.
[EMAIL PROTECTED] *or* [EMAIL PROTECTED]
http://www.mbay.net/~mpeppler
Inter. Sybase User Group: http://www.isug.com