Set date format and output style.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 02 Aug 2013 20:24:48 +0300
changeset 630 85045711cebd
parent 629 e7af6e868864
child 631 fca1f671308a
Set date format and output style.
.sqshrc
--- a/.sqshrc	Thu Jul 25 19:06:23 2013 +0300
+++ b/.sqshrc	Fri Aug 02 20:24:48 2013 +0300
@@ -1,2 +1,14 @@
 \set prompt="SQL> "
 \set semicolon_hack=on
+
+\set date="%Y-%m-%d"
+\set datetime="%Y-%m-%d %H:%M:%S"
+
+# \set colwidth=20
+# \set style=pretty
+# \set style=csv
+# \set style=vert
+# \set style=horiz
+
+\set style=bcp
+