* Re: Unix SQL
[not found] <7fommr$20dm$1@news.gate.net>
@ 1999-04-26 4:00 ` Mail Fiend
0 siblings, 0 replies; only message in thread
From: Mail Fiend @ 1999-04-26 4:00 UTC (permalink / raw)
Mark wrote in message <7fommr$20dm$1@news.gate.net>...
>I need an example of a writing select statement in SQL via Vi in Unix to
>access a database.
>I can't find a detailed example anywhere.
Assuming you are running oracle.
Text in [ ] brackets indicate keys you need to press.
# vi my.sql [return]
[i]
select *[return]
from myschema.mytable;[return]
[escape][:]wq[return]
sqlplus username/password @my.sql[return]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-04-26 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7fommr$20dm$1@news.gate.net>
1999-04-26 4:00 ` Unix SQL Mail Fiend
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox