~ubuntu-branches/ubuntu/precise/acedb/precise

« back to all changes in this revision

Viewing changes to whelp/AQL/MovieDB/usage.shtml

  • Committer: Bazaar Package Importer
  • Author(s): Steffen Moeller
  • Date: 2010-07-11 06:27:12 UTC
  • Revision ID: james.westby@ubuntu.com-20100711062712-f1mtli96gavo7mk4
Tags: upstream-4.9.39
ImportĀ upstreamĀ versionĀ 4.9.39

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
 
 
3
<HEAD>
 
4
  <TITLE>AQL - MovieDB Usage</TITLE>
 
5
  <LINK REL="stylesheet" TYPE="text/css" HREF="../aql.css" TITLE="Style sheet for AQL docs">
 
6
</HEAD>
 
7
<BODY>
 
8
 
 
9
<H2>AQL - MovieDB Usage</H2>
 
10
 
 
11
<H4>With taql :</H4>
 
12
 
 
13
<P>
 
14
The taql program is a simple command shell that will only parse
 
15
aql queries. None of the other acedb text-commands will work.
 
16
it's advantage over tace for pure AQL use is that you can enter
 
17
multiline queries. :
 
18
<PRE>% taql MovieDB</PRE>
 
19
 
 
20
Then enter your queries after the acedb-aql&gt; prompt. A blank line
 
21
(hit RETURN twice) submit the query. The results are returned in plain
 
22
text format.
 
23
</P>
 
24
 
 
25
<P>Type <CODE>taql -h</CODE> for more options.
 
26
</P>
 
27
 
 
28
<H4>With tace :</H4>
 
29
 
 
30
<P>
 
31
Tace is a more comprehensive acedb command-shell. The AQL facilities
 
32
are just part of the overall functionality. All AQL queries have to be
 
33
preceeded by the keyword "<CODE>aql</CODE>". This keyword allows
 
34
the setting of various output options etc.
 
35
 
 
36
<PRE>% tace MovieDB</PRE>
 
37
 
 
38
Any tace-command that starts with <CODE>select</CODE> is automatically
 
39
recognised as an AQL query and the <CODE>aql</CODE>-keyword can be omitted.
 
40
</P>
 
41
 
 
42
<P>Type ? at the <CODE>acedb&gt;</CODE> prompt for a complete listing of
 
43
   possible commands.
 
44
</P>
 
45
 
 
46
 
 
47
 
 
48
 
 
49
<HR>
 
50
<ADDRESS><A HREF="mailto:acedb@sanger.ac.uk">acedb@sanger.ac.uk</A></ADDRESS>
 
51
 
 
52
</BODY>
 
53
</HTML>