Skip to content

Conversation

sploiselle
Copy link
Contributor

@sploiselle sploiselle commented Sep 26, 2016

Documents ALTER TABLE RENAME COLUMN...

Closes #489


This change is Reviewable

Copy link
Contributor

@jseldess jseldess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with two minor comments.

@@ -20,4 +20,43 @@ The user must have the `CREATE` [privilege](privileges.html) on the table.

| Parameter | Description |
|-----------|-------------|
| | |
| `IF EXISTS` | Rename the column only if a column of `current_name` exists; if one does not exist, do not return an error. |
| `table_name` | The name of the table with the column you want to use |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Period missing.

| | |
| `IF EXISTS` | Rename the column only if a column of `current_name` exists; if one does not exist, do not return an error. |
| `table_name` | The name of the table with the column you want to use |
| `current_name` | The current name of the column |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Period missing.

@sploiselle sploiselle force-pushed the rename-column-sql-statement branch from 80ec95c to 15b7ba9 Compare September 28, 2016 19:27
@sploiselle sploiselle force-pushed the rename-column-sql-statement branch from 15b7ba9 to 1f3321a Compare September 28, 2016 19:30
@sploiselle sploiselle merged commit fd44653 into gh-pages Sep 28, 2016
@sploiselle sploiselle deleted the rename-column-sql-statement branch September 28, 2016 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants