Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Jul 27, 2018
1 parent 41e47df commit 04aa9b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GetMsSqlDump.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
.OUTPUTS
stdout unless -file is provided.
.NOTES
Version: 0.4.0
Version: 0.4.1
Author: Bitemo, Erik Gergely, Tres Finocchiaro
Creation Date: 2018
Purpose/Change: Updated for compatiblity with SQL Server 2016
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
```ps1
.\GetMsSqlDump.ps1 [-server servername] [-db dbname]
-table tablename [-query "customquery"] [-username username -password password]
[-file filename] [-dateformat dateformat]
[-append] [-noidentity] [-debug] [-help] [-?]
[-file filename] [-dateformat dateformat] [-format "mysql|mssql" -noautocommit]
[-condence] [-append] [-noidentity] [-debug] [-help] [-?]
```

## Description
Expand All @@ -30,7 +30,7 @@ All parameters **must** be prefixed with a single hyphen. e.g. `-server sql1`.
| `username` | SQL login name if SQL authentication is used. If no value given, Windows integrated authentication will be used and the password parameter will be ignored. | N/A |
| `password` | Password of the SQL login specified in the username parameter. If no username was specified, this parameter will be ignored. | N/A |
| `file` | Destination of the dump file. If omitted, dump will be redirected to stdout. If the file already exists, either the [`append` or the `overwrite` switch](#switches) should be specified. Submitting both switches results in script abortion to avoid ambiguous situations and unintentional data loss. | N/A |
| `dateformat` | Format of datetime fields in tables. For all the options please refer to the MSDN Custom DateTime Format Strings" on the web. For basic tutorial, go down to the dateformat options section. | `yyyy-MM-dd HH:mm:ss.FF`|
| `dateformat` | Format of datetime fields in tables. For all the options please refer to the MSDN "Custom DateTime Format Strings" on the web. For basic tutorial, go down to the dateformat options section. | `yyyy-MM-dd HH:mm:ss.FF`|
| `format` | Destination database dump format to influence platform-specific commands. (e.g. mysql, mssql) | N/A |
| `buffer` | Number of records to hold in memory before writing to file, affects performance. Set to 0 to disable. | `1024`|

Expand All @@ -48,7 +48,7 @@ All switched **must** be prefixed with a single hyphen. e.g. `-append -overwrit
| `pointfromtext` | Use PointFromText attempts to convert `SqlGeography` `POINT(x y)` values using `PointFromText('POINT(x y)')` WKT (well-known-text) conversion |
| `noautocommit` | Instructs the dump file to commit all lines at once. May speed up processing time. Ignored if `-format` is not provided. |
| `condense` | Condense multiple INSERT INTO statements into single statements. Significant performance boost; debugging becomes difficult. |
| `debug` | Prints way more characters to your screen than you'd like to. If something didnt work in the way you expected, or you want to submit a bug, run your statement with the debug switch. |
| `debug` | Prints way more characters to your screen than you'd like to. If something didn't work in the way you expected, or you want to submit a bug, run your statement with the debug switch. |
| `version` | Prints the version information and exits. |
| `help` or `?` | Prints this short help. Ignores all other parameters. |

Expand Down

0 comments on commit 04aa9b2

Please sign in to comment.