Skip to Content.
Sympa Menu

freetds - Re: FreeTDS (?) 0.52 problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: FreeTDS (?) 0.52 problem
  • Date: Tue, 11 Dec 2001 12:54:16 -0500


On the sql server your user has a 'default database' set. If one is not
set then you are put in the master database and must 'use' the desired
database, so in answer to your question the problem is in the user set up
on the SQL Server, not freetds, dbd::sybase, or dbi.

look at the stored procedure sp_defaultdb to set it

Brian

> Porschen wrote:
>
> > Hi dude,
> >
> > i had the same probleme month ago , if ya wish i can send it to you by
> > email....
>
>
> Did you solve this problem? I add $dbh->do("use PROPERLY_DB_NAME") and
> all works fine now. But I want understand where is problem: FreeTDS?
> DBD:Sybase? DBI?
>
>
> > ciao
> > a friendly Perl freak.....
>
> by




Archive powered by MHonArc 2.6.24.

Top of Page