Skip to Content.
Sympa Menu

freetds - AW: AW: [freetds] connect problem to mssql 7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Roland Bole" <roland.bole AT gmx.at>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: AW: AW: [freetds] connect problem to mssql 7.0
  • Date: Fri, 19 Dec 2003 07:48:11 +0100



> -----Ursprüngliche Nachricht-----
> Von: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
bounces AT lists.ibiblio.org] Im Auftrag von James K. Lowden
> Gesendet: Freitag, 19. Dezember 2003 07:06
> An: FreeTDS Development Group
>Betreff: Re: AW: [freetds] connect problem to mssql 7.0

On Thu, 18 Dec 2003, "Roland Bole" <Samlinux AT gmx.at> wrote:
> >
> > Try these, to clarify which tsql you're finding:
> >
> > $ command -V tsql; tsql -C
> > tsql is /usr/local/bin/tsql
> > locale is "C"
> > using default charset "ISO-8859-1"
> > Compile-time settings (established with the "configure" script):
...
>
> $ command -V tsql; tsql -C
>
> i don't have such a command: "command -V" ???
> is this a special tool ?

No. It's the Posix-defined built-in that every shell is supposed to
support. "command -[vV]" is the standard command to print what path a
given executable is found on.

Many people are familiar with which(1), but that's an external binary.
Only the shell itself knows its mechanism for interpreting a command, so
only a shell built-in can tell you what the shell will launch when you
type "tsql" (or anything else).

$ bash --version; which tsql
GNU bash, version 2.05.0(1)-release (i386--netbsdelf)
Copyright 2000 Free Software Foundation, Inc.
/usr/local/bin/tsql
$ help command
command: command [-pVv] command [arg ...]
Runs COMMAND with ARGS ignoring shell functions. If you have a shell
function called `ls', and you wish to call the command `ls', you can
say "command ls". If the -p option is given, a default value is used
for PATH that is guaranteed to find all of the standard utilities. If
the -V or -v option is given, a string is printed describing COMMAND.
The -V option produces a more verbose description.

--jkl



Thanks, for your info,

but if try tsgl -C

locale is "C"
charset is "ANSI_X3.4-1968"
bin/tsql: invalid option -- -
Usage: bin/tsql [-S <server> | -H <hostname> -p <port>] -U
<username> [ -P <password> ] [ -I <config file> ]

Is the result ??

Sorry maybe I am a little bit confused with the freetds stuff now.



Roland






_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds







Archive powered by MHonArc 2.6.24.

Top of Page