Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-1703363 ] useful (?) cmd-line options for tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Subject: [freetds] [ freetds-Patches-1703363 ] useful (?) cmd-line options for tsql
  • Date: Sat, 16 Jun 2007 23:19:22 -0700

Patches item #1703363, was opened at 2007-04-19 03:56
Message generated for change (Comment added) made by freddy77
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1703363&group_id=33106

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: application
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: useful (?) cmd-line options for tsql

Initial Comment:
I've modified tsql for my own purposes here at work and decided that these
are probably handy changes to have:

-t (column delimiter)
-r (row delimiter)
-D (default db to 'use')

-t and -r might be more flexible if applied as a per-query options (ie.
grouped with -o), but I'm trying to emulate the behaviour of sybase isql.

The WIN32 #defines were not tested, but are there merely as a
concept/question.

Cheers,


----------------------------------------------------------------------

>Comment By: Frediano Ziglio (freddy77)
Date: 2007-06-17 08:19

Message:
Logged In: YES
user_id=75766
Originator: NO

Applied.
WIN32 checks are not necessary (C library translate \n to \r\n for us).
Used fputs instead of fprintf is possible. Use connection attribute to
change default db.

freddy77


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1703363&group_id=33106



  • [freetds] [ freetds-Patches-1703363 ] useful (?) cmd-line options for tsql, SourceForge.net, 06/17/2007

Archive powered by MHonArc 2.6.24.

Top of Page