From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,407bf7264136496f,start X-Google-Attributes: gidf678f,public From: "Mail Fiend" Subject: Re: Unix SQL Date: 1999/04/26 Message-ID: <7g21de$guf$1@news6.svr.pol.co.uk>#1/1 X-Deja-AN: 471078168 References: <7fommr$20dm$1@news.gate.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@theplanet.net X-Trace: news6.svr.pol.co.uk 925141230 17359 62.136.195.120 (26 Apr 1999 15:40:30 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 26 Apr 1999 15:40:30 GMT Newsgroups: comp.unix.osf.misc 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]