[freetds] tsql database name
Bort, Paul
pbort at tmwsystems.com
Fri Jul 23 11:40:12 EDT 2004
After you connect you can issue the command
use foo;
To connect to the database 'foo'. I do this with Perl and DBD::Sybase so
that my users don't have to know about configuration files.
Hope this helps.
Paul
> -----Original Message-----
> From: Fabrizio Taretto [mailto:fabrizio.taretto at sinedita.it]
> Sent: Friday, July 23, 2004 11:33 AM
> To: FreeTDS Development Group
> Subject: [freetds] tsql database name
>
>
> Hi All,
>
> anyone can tell me if ther is a command to select a database
> usig tsql
> example.
> I do the connection with command
>
> ./tsql "Hostname", port, "username", "password"
>
> but i can't choose the database name and I'm always connected to the
> first alphabetical database of the server.
>
> I don't use an odbc.ini file.
>
> Regards
> Fabrizio
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
More information about the FreeTDS
mailing list