Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Naming one's hostname for sp_who
Date: Oct 12 2001 5:11PM
Edward J. Sabol writes:
> > DBD::Sybase using Client Library (as does Sybase::CTlib), and Client
> > Library does NOT default the hostname in the connection. The hostname
> > can be set with the ct_con_props() call. For DBD::Sybase you can
> > specify the "hostname" in the DBI->connect() call - see the
> > DBD::Sybase man page for details.
> OK, I didn't know that you could specify it in the DBI->connect() call, so
> that's useful to know, but it still seems to me that this is something that
> DBD::Sybase should do automatically.
Well - getting the hostname *could* be tricky (though I guess I could
use Sys::Hostname to get it...
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
email@example.com - firstname.lastname@example.org
International Sybase User Group - http://www.isug.com