File: sql.ssh

package info (click to toggle)
a2ps 1%3A4.14-1.1%2Bdeb6u1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,324 kB
  • ctags: 4,908
  • sloc: ansic: 26,659; sh: 13,155; lex: 2,286; perl: 1,156; yacc: 757; makefile: 605; lisp: 398; ada: 263; objc: 189; f90: 109; ml: 85; sql: 74; pascal: 57; modula3: 33; haskell: 32; sed: 30; java: 29; python: 24
file content (54 lines) | stat: -rw-r--r-- 1,803 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Last changed: Mon Aug 18 1997 Christian Mondrup (reccmo@sc03.sctp.dk)
#
# Last edited:
#
# Mon Aug 18 1997 Christian Mondrup (reccmo@sc03.sctp.dk)
# 	 Added "rem" as comment. Changed case to insensitive.

style "Oracle SQL" is

written by "Pierre Mareschal <pmaresch@be.oracle.com>"
version is 1.0

documentation is
 "a2ps-sql Pretty Printer Version 1.0.0 beta - 18-MAR-97"
 "For comments, support for -- /*..*/ and //."
 "This style is to be checked."
end documentation

first alphabet is
   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"
second alphabet is
   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"

case insensitive

keywords in Keyword_strong are

   access, add, all, alter, and, any, arraylen, as, asc, audit,
   between, "by", char, check, cluster, column, "comment", compress,
   connect, create, current, date, decimal, default, delete, desc,
   distinct, drop, else, exclusive, exists, file, float, for, from,
   grant, group, having, identified, immediate, "in", increment,
   index, initial, insert, integer, intersect, into, "is", level,
   like, lock, long, maxextents, minus, mode, modify, noaudit,
   nocompress, not, notfound, nowait, null, number, of, offline, on,
   online, option, or, order, pctfree, prior, privileges, public, raw,
   rename, resource, revoke, row, rowid, rowlabel, rownum, rows,
   select, session, set, share, size, smallint, sqlbuf, start,
   successful, synonym, sysdate, table, then, to, trigger, uid, union,
   unique, update, user, validate, values, varchar, varchar2, view,
   whenever, where, with

end keywords

sequences are
    "/*+" Comment_strong Comment_strong "*/" Comment_strong,
    -- Comment,
    rem Comment,
    "/*" Comment Comment "*/" Comment,
    "//" Comment,
    C-string,
    C-char
end sequences
end style