I know you can run commands like this:

sqlci << eof
env;
values (current_user);
eof


   Roberta


From: Eric Owhadi [mailto:eric.owh...@esgyn.com]
Sent: Friday, July 28, 2017 7:59 AM
To: user@trafodion.incubator.apache.org
Subject: is it possible to pass a sql statement to sqlci?

Hi Trafodioneers,
I know we can use sqlci -i filename
And this will trigger an OBEY filename.

But I was wondering if there is an option to directly pass the sql statement, 
without writing it to a file

Sqlci -??? "select count(*) from tbl"

Eric

Reply via email to