Skip to Content.
Sympa Menu

freetds - Re: sqsh 2.1 and command prompt

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: sqsh 2.1 and command prompt
  • Date: Thu, 29 Nov 2001 15:17:04 -0500


This works fine for me, can you give some details on your platform?

Brian

> The new sqsh had a cool command prompt, something like:
>
> <server name> <database name> <command #>>
>
> When I use freetds the database name doesn't show up until I do a
> use <database name>. Has anyone got a clue about this? From the
> sqsh source file cmd_connect.c I see:
>
> /*
> * On some systems, if the charset is mis-configured in the
> * SQL Server, it will come back as the string "<NULL>". If
> * this is the case, then we want to ignore this value.
> */
>
> which could lead to this behavior, but I could be wrong.
>
> Thanks,
> Steve




Archive powered by MHonArc 2.6.24.

Top of Page