.sqshrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 09 Jan 2015 23:31:59 +0200
changeset 722 9bd7ce98c7ce
parent 630 85045711cebd
permissions -rw-r--r--
colored-stats
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
629
e7af6e868864 Set isql like prompt and go on semicolon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
\set prompt="SQL> "
e7af6e868864 Set isql like prompt and go on semicolon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
\set semicolon_hack=on
630
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     3
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     4
\set date="%Y-%m-%d"
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     5
\set datetime="%Y-%m-%d %H:%M:%S"
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     6
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     7
# \set colwidth=20
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     8
# \set style=pretty
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
     9
# \set style=csv
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
    10
# \set style=vert
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
    11
# \set style=horiz
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
    12
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
    13
\set style=bcp
85045711cebd Set date format and output style.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
    14