At my presentation yesterday a person in the audience suggested being
able to make arguments when making an sql-script executable.
So something like:
#!/usr/bin/sql -Y {2}
SELECT * FROM mytable WHERE user = '{1}';
You could then call that script like:
./myscript joe mysql:///
and:
{1
I have implemented {#} as an alias for $PARALLEL_PID in the current
Git version. See http://savannah.gnu.org/bugs/?33005
It currently counts from 1 just like $PARALLEL_PID.
Dear users: Would you prefer it counts from 0 or from 1? Please elaborate why.
/Ole
On Thu, Apr 14, 2011 at 12:31 AM, Ole Tange wrote:
> I have implemented {#} as an alias for $PARALLEL_PID in the current
> Git version. See http://savannah.gnu.org/bugs/?33005
>
> It currently counts from 1 just like $PARALLEL_PID.
Not _PID but _SEQ!
> Dear users: Would you prefer it counts fro