X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=misc%2Fsqlite%2Fsqliterc.in;fp=misc%2Fsqlite%2Fsqliterc.in;h=f8bfa58fdca62172aa553703bf9f1fa0916cd5d7;hp=0000000000000000000000000000000000000000;hb=8ccb9052dca010073caa5df18c71e6c2a7200fcc;hpb=54e498cc877f4e05b5788b0a886ee02546f41a47 diff --git a/misc/sqlite/sqliterc.in b/misc/sqlite/sqliterc.in new file mode 100644 index 0000000..f8bfa58 --- /dev/null +++ b/misc/sqlite/sqliterc.in @@ -0,0 +1,28 @@ +# sqlite3 configuration file. +# +# sqlite3 doesn't support comments in ~/.sqliterc. They must be stripped +# before using this file. + +# Copyright (C) 2014 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# Enable column output mode with headers. Used for SELECT statements and makes +# them more readable. +.mode column +.headers on + +# Display NULL value as "NULL". +.nullvalue NULL