Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Fix the scripting for table-valued parameters #23

Merged
merged 2 commits into from
Apr 4, 2018

Conversation

davidguilherme
Copy link
Contributor

Description

This pull request fixes basically two bugs related to table-valued parameters.

  1. The pull command was not scripting the table-valued parameters correctly when the idempotency option is if-not-exists;
  2. The pull command was scripting the comma out after the last column which is not allowed.

Checklist

Please ensure your pull request fulfills the following requirements:

  • The commit messages follow our guidelines (CONTRIBUTING.md).
  • Tests for any changes have been added (for bug fixes / features).
  • Docs have been added / updated (for bug fixes / features).

Type

What kind of change does this pull request introduce?

[x] Bug fix.
[ ] Feature.
[ ] Code style update (formatting, local variables).
[ ] Refactoring (no functional changes, no api changes).
[ ] Build related changes.
[ ] CI related changes.
[ ] Documentation content changes.
[ ] Other (please describe below).

Breaking Changes

Does this pull request introduce any breaking changes?

[ ] Yes
[x] No

Other Information

fixes #22

David Guilherme added 2 commits April 3, 2018 14:32
The idempotency method was not scripting out properly when the object type is
`TT` when the option is `if-not-exists`. This commit fixes that.

fixes justinlettau#22
The comma after the last column is not allowed. It raises a syntax
error. Exception: `Incorrect syntax near ')'. `
@justinlettau justinlettau merged commit 4c1df49 into justinlettau:master Apr 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The table-valued parameters are not being created
2 participants