Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-699749 ] implement :r 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-699749 ] implement :r for tsql
  • Date: Fri, 07 Mar 2003 17:06:42 -0800

Patches item #699749, was opened at 2003-03-08 01:06
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=699749&group_id=33106

Category: application
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Craig A. Berry (berryc)
Assigned to: Nobody/Anonymous (nobody)
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.

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

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




Archive powered by MHonArc 2.6.24.

Top of Page