public
Description: A Cross-platform, Cross-database SQL Command Line Tool
Homepage: http://www.clapper.org/software/python/sqlcmd/
Clone URL: git://github.com/bmc/sqlcmd.git
sqlcmd / CHANGELOG
100644 147 lines (113 sloc) 6.025 kb
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
sqlcmd Change Log
---------------------------------------------------------------------------
Version 0.7.1 (...)
 
- Updated to latest version of ez_setup.py
 
---------------------------------------------------------------------------
Version 0.7 (26 May, 2009)
 
- Pressing interrupt (Ctrl-C) now cancels whatever command is being
  entered.
- Moved various classes in __init__.py into separate modules, for ease
  of maintenance.
- Fixed syntax checks on .var command.
- ".show tables" on Oracle will now show non-system tables that belong to
  all users, not just the user who's logged in.
- ".show tables" now accepts a third regular expression filter parameter,
  allowing list of returned tables to be restricted to those matching
  the regular expression.
 
---------------------------------------------------------------------------
Version 0.6 (04 January, 2009)
 
- Added 'colspacing' setting, allowing control over the column spacing in
  result set output.
- Initial values for settings (i.e., arguments to ".set") can be specified
  in a [settings] section in the configuration file.
- Fixed some bugs in the handling of shell-style variables.
 
---------------------------------------------------------------------------
Version 0.5 (13 November, 2008)
 
- Added ".about" metacommand.
- Added ".show database" metacommand, to get information about the current
  database and RDBMS software.
- Fixed a small bug with the ConfigurationError exception class, improving
  error messages.
- Better formatting of help output.
- Slightly better error handling.
 
---------------------------------------------------------------------------
Version 0.4.2 (5 November, 2008)
 
- Now pre-reqs Grizzled version 0.8.4 or better, to provide decent Oracle
  support. Tested against Oracle XE 10.2 for Linux.
 
---------------------------------------------------------------------------
Version 0.4.1 (4 November, 2008)
 
- Unknown "." commands are no longer passed through to the database engine
  by default, resulting in better error messages.
- The "help variables" topic is now "help settings".
 
---------------------------------------------------------------------------
Version 0.4 (3 November, 2008)
 
- Now calls grizzled.cmdline.CommandLineParser's die_with_usage() method,
  instead of the deprecated show_usage() method.
- Now supports shell-style variables. See the User's Guide for details.
 
---------------------------------------------------------------------------
Version 0.3.2 (8 September, 2008)
 
- Now properly bundles ez_setup.py
- Now supports Gadfly (http://gadfly.sourceforge.net/)
 
---------------------------------------------------------------------------
Version 0.3.1 (5 August, 2008)
 
- Fixed bug with --database option introduced in version 0.3
- When loading a file (via ".load" at the prompt or @file on the command line),
  sqlcmd no longer adds the contents to the history.
 
---------------------------------------------------------------------------
Version 0.3 (22 July, 2008)
 
- Ctrl-C (SIGINT) at the command prompt now simply returns to the command
  prompt without doing anything, instead of exiting sqlcmd. Thanks to James
  William Pye (x /at/ jwp.name) for the suggestion.
- Added .echo command
- Added ability to specify an on-connect script for each database listed
  in the configuration file. sqlcmd runs the on-connect script, immediately
  after connecting to the database.
- Moved WrappingLogFormatter to Grizzled API (grizzled.log module).
- Moved str2bool() function to Grizzled API (grizzled.misc module).
 
---------------------------------------------------------------------------
Version 0.2.3 (21 July, 2008)
 
- Fixed bug that caused sqlcmd to crash when displaying binary data.
 
---------------------------------------------------------------------------
Version 0.2.2 (18 July, 2008)
 
- Unicode-related changes to permit sqlcmd to handle databases with
  non-ASCII characters. Thanks to Stephane Matamontero for noting the problem
  and submitting a patch.
- Fixed a problem with history management and multiline commands.
- Documented "sqlcmd.history" module.
- Added --version (-v) command line option.
 
---------------------------------------------------------------------------
Version 0.2.1 (18 July, 2008)
 
- Now supports the ipython pyreadline module on Windows, allowing sqlcmd
  to work on Windows properly.
- Explicit support for ALTER statement, to permit table completion.
 
---------------------------------------------------------------------------
Version 0.2 (17 July, 2008)
 
- "@" is no longer an alias for ".load". It's too complicated to support.
- ".load" will now do file-name completion on its argument, including
  tilde expansion.
- Made more improvements to tab-completion, especially for dot (".") commands.
- Documented how extended (unrecognized) commands are handled.
- Fixed log handling.
- Some other internal cleanup.
 
---------------------------------------------------------------------------
Version 0.1.2 (17 July, 2008)
 
- Fixed parsing error with the "@" command.
- Dot (".") commands now show up properly in help.
- Added tab completion to various commands. For instance:
  * ".<TAB>" shows the "." commands
  * ".set <TAB>" shows the variables you can set
  * ".set variable <TAB>" shows the legal values for the variable
  * ".connect <TAB>" shows all the database aliases in the config file
  * "select * from <TAB>" shows the tables in the current database.
    (So does "select <TAB>", actually.) This works for all SQL commands.
  * ".history <TAB>" shows the commands in the history.
    ".history s<TAB>" shows the names of all commands in the history
    beginning with "s"
  etc.
 
---------------------------------------------------------------------------
Version 0.1.1 (17 July, 2008)
 
- No longer craps out if $HOME/.sqlcmd/config is missing, but -d (--db)
  is on the command line.
 
---------------------------------------------------------------------------
Version 0.1 (16 July, 2008)
 
- First version posted to the web.