Skip to Content.
Sympa Menu

freetds - Re: [freetds] tsql script file patch

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Carlo Simeone <simeo AT simeosoft.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tsql script file patch
  • Date: Wed, 16 Feb 2005 11:27:17 +0100

Il mar, 2005-02-15 alle 15:18, James K. Lowden ha scritto:
> This already works:
>
> tsql {options} < script.sql
>
This syntax has some probolems, due to the use of readline. I get
weird behaviour with my script, maybe because they need some "go"
between statements... so I decided to follow the command line
approach.

James, Brian, Craig,
regarding the best syntax, what about a solution with "the best of
two worlds"? I mean this (mutually exclusive):
-i <script file>
and
<script file 1> <script file 2> ....

I don't know if this can be misleading or confusing but anyway
here comes the patch... (removing one of the above is a matter
of seconds if you choose to).

Thanks a lot for your attention.


--
Carlo Simeone

Attachment: tsql.diff.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.24.

Top of Page