About 700,000 results
Open links in new tab
  1. Alter table add multiple columns ms sql - Stack Overflow

    Jul 8, 2016 · Possible duplicate of how to add multiple columns to sql table and add default constraint on one of them?

  2. How to ALTER multiple columns at once in SQL Server

    Jan 24, 2015 · I need to ALTER the data types of several columns in a table. For a single column, the following works fine: ALTER TABLE tblcommodityOHLC ALTER COLUMN …

  3. Adding multiple columns AFTER a specific column in MySQL

    [As an additional information] Multiple ADD, ALTER, DROP, and CHANGE clauses are permitted in a single ALTER TABLE statement, separated by commas. This is a MySQL extension to standard …

  4. sql - How to add multiple columns to a table and add default …

    Mar 3, 2013 · I want to add 2 new columns to existing table. One of them should be NOT NULL with default value 0 (filled in the existing rows as well). I have tried the following syntax: Alter TABLE dbo.

  5. Adding multiple columns in MySQL with one statement

    ALTER TABLE `WeatherCenter` ADD COLUMN BarometricPressure SMALLINT NOT NULL, CloudType VARCHAR(70) NOT NULL, WhenLikelyToRain VARCHAR(30) NOT NULL; I have …

  6. How to DROP multiple columns with a single ALTER TABLE statement …

    Jun 14, 2011 · Multiple columns and constraints can be listed. It says that mutliple columns can be listed in the the statement but the syntax doesn't show an optional comma or anything that would even hint …

  7. sql server - Unique constraint on multiple columns - Stack Overflow

    Aug 13, 2010 · 324 By using the constraint definition on table creation, you can specify one or multiple constraints that span multiple columns. The syntax, simplified from technet's documentation, is in the …

  8. How to add multiple columns to a table in Postgres?

    Jul 27, 2018 · How do I add multiple columns in one query statement in PostgreSQL using pgadmin3?

  9. ALTER TABLE to add a composite primary key - Stack Overflow

    Jan 14, 2012 · 240 I have a table called provider. I have three columns called person, place, thing. There can be duplicate persons, duplicate places, and duplicate things, but there can never be a …

  10. sql server - Modify multiple columns in single Alter Table query ...

    May 11, 2016 · Closed 9 years ago. Is there a way to modify multiple columns in one sql query? For example I want to change the column definition of multiple columns in single table as follows. I am …