Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #871 > unrolled thread

Get data inline through ODBC

Started bypg <picanog@yahoo.it>
First post2012-01-26 16:34 +0100
Last post2012-01-26 21:14 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Get data inline through ODBC pg <picanog@yahoo.it> - 2012-01-26 16:34 +0100
    Re: Get data inline through ODBC sfeam <sfeam@users.sourceforge.net> - 2012-01-26 09:56 -0800
      Re: Get data inline through ODBC pg <picanog@yahoo.it> - 2012-01-26 21:14 +0100

#871 — Get data inline through ODBC

Frompg <picanog@yahoo.it>
Date2012-01-26 16:34 +0100
SubjectGet data inline through ODBC
Message-ID<jfrrp1$o7j$1@tdi.cu.mi.it>
Are there developments in the plan to allow access to data directly from 
SQL via ODBC gnuplot command line?
Ie make the commands PLOT and SPLOT able to use a string of type SQL 
query instead of a filename.

Thanks

[toc] | [next] | [standalone]


#873

Fromsfeam <sfeam@users.sourceforge.net>
Date2012-01-26 09:56 -0800
Message-ID<jfs43h$2ua$1@dont-email.me>
In reply to#871
pg wrote:

> Are there developments in the plan to allow access to data directly from
> SQL via ODBC gnuplot command line?
> Ie make the commands PLOT and SPLOT able to use a string of type SQL
> query instead of a filename.

No.  You should use a pipe instead.
   plot '<  sqlite3 base.db "select x,y from tbl" '

(Yes, I know you already asked how to set this up when running Windows.
 I can't help you there, but so far as I know it does work).

[toc] | [prev] | [next] | [standalone]


#874

Frompg <picanog@yahoo.it>
Date2012-01-26 21:14 +0100
Message-ID<jfsc6q$651$1@tdi.cu.mi.it>
In reply to#873
Bad news !  :-)
but thanks for clarity.

Il 26/01/2012 18.56, sfeam ha scritto:
> pg wrote:
>
>> Are there developments in the plan to allow access to data directly from
>> SQL via ODBC gnuplot command line?
>> Ie make the commands PLOT and SPLOT able to use a string of type SQL
>> query instead of a filename.
>
> No.  You should use a pipe instead.
>     plot '<   sqlite3 base.db "select x,y from tbl" '
>
> (Yes, I know you already asked how to set this up when running Windows.
>   I can't help you there, but so far as I know it does work).
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web