can I execute SQL commands in the unix command line [message #258520] |
Sun, 12 August 2007 23:31 |
kveaswaran
Messages: 4 Registered: August 2007
|
Junior Member |
|
|
Hi,
Is there a way I can execute SQL commands in the unix command line using some kind of prefix.
For example, the following works in DB2.
$ db2 select * from test_table;
In oracle I have to login to get the "SQL>" prompt and then execute my statements. This is fine, but I am not able to use any of unix filters like grep , wc etc. This is possible in DB2 as we can do statements in the unix cmd line itself..
Thanks,
Easwaran.
|
|
|
|
|
|
|
|
|
|
|
|
|
|