question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to add multiple columns in one alter table statement

See original GitHub issue

Use case: Let’s say I have 10 columns that need to be added, instead of having to manually alter the table and add a column at a time, it’d be great to add the columns needed in one statement.

Feature description:

ALTER TABLE mytable ADD COLUMN x STRING, ADD COLUMN Y LONG

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
seutcommented, Oct 25, 2022

@rijnhard Thanks for this insight. Please also upvote, this will help us on future prioritization.

0reactions
rijnhardcommented, Oct 25, 2022

Just as a note regarding the broader ecosystem. This breaks Hevo Data’s Schema mapper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL ADD COLUMN - Add One or More Columns To a Table
This tutorial shows you how to use the SQL ADD COLUMN clause of the ALTER TABLE statement to add one or more columns...
Read more >
SQL Server: ALTER TABLE Statement - TechOnTheNet
You can use the ALTER TABLE statement in SQL Server to add multiple columns to a table. Syntax. The syntax to add multiple...
Read more >
How to Alter Multiple Columns at Once in SQL Server?
Step 7: Alter multiple(2) columns of the table FIRM by adding 2 columns to the table simultaneously. The 2 columns are JOINING_DATE and ......
Read more >
Alter table add multiple columns ms sql - Stack Overflow
I get the following errors: Msg 102, Level 15, State 1, Line 2 Incorrect syntax near '('.
Read more >
MySQL ALTER TABLE — Add Multiple Columns
In MySQL, to add a new column to an existing table, the ALTER TABLE syntax would look like this: ALTER TABLE table_name ADD...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found