freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] [ freetds-Patches-699749 ] implement :r for tsql
- From: "SourceForge.net" <noreply AT sourceforge.net>
- To: noreply AT sourceforge.net
- Subject: [freetds] [ freetds-Patches-699749 ] implement :r for tsql
- Date: Wed, 26 Mar 2003 22:25:32 -0800
Patches item #699749, was opened at 2003-03-07 20:06
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=699749&group_id=33106
Category: application
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Craig A. Berry (berryc)
>Assigned to: James K. Lowden (jklowden)
Summary: implement :r for tsql
Initial Comment:
It is convenient when testing queries to be able to suck in external files.
Toward that end the patch here implements the :r option for tsql in
accordance with the Sybase isql documentation. Basically, you'd do something
like this to avoid retyping the contents of myquery.sql whenever you want to
run it:
> :r myquery.sql
> go
In principle the -i command-line switch could be implemented using the same
infrastructure as :r, but it might make more sense to just do freopen on
stdin.
----------------------------------------------------------------------
>Comment By: James K. Lowden (jklowden)
Date: 2003-03-27 01:25
Message:
Logged In: YES
user_id=350488
Thanks for the patch, Craig. I decided you're right: even
if tsql is intended to be a simple diagnostic tool (and not
replacement for isql), the ability to read in a file is handy.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=699749&group_id=33106
-
[freetds] [ freetds-Patches-699749 ] implement :r for tsql,
SourceForge.net, 03/07/2003
- <Possible follow-up(s)>
- [freetds] [ freetds-Patches-699749 ] implement :r for tsql, SourceForge.net, 03/27/2003
Archive powered by MHonArc 2.6.24.