Sometime we have to add multiple columns to the already existing table. Instead of adding one column at a time we can add multiple columns in one statement.
Here is example how to Add Multiple Columns to already existing table.
GO
--Create Table
CREATE TABLE dbo.MyTestTable( ID INT)
--Add Multiple columns in one statement
ALTER TABLE dbo.MYTestTable
ADD
Name VARCHAR(100) NOT NULL,
ADDRESS VARCHAR(100) NOT NULL,
AGE INT NOT NULL,
PhoneNumber VARCHAR(12)
Video Demo
How to Add Multiple Columns to SQL Server Table in Single SQL Statement
Great information and this is very useful for us.
ReplyDeletepost free classified ads in india
very useful information for us.
ReplyDeletebest cafe in chennai
Footstools couple up as square tables and are exceptionally well known with sectionals.ELECTROLUX APPLIANCE REPAIR & SERVICE IN SANTA BARBARA
ReplyDeleteThat is something extraordinary!!! end table with USB ports
ReplyDeleteEven in the wake of investing in a ton of energy, clients in some cases moan in disappointment when the conveyance man at last contacts them with furniture in the wake of hanging tight for quite a long time. Daniel
ReplyDeleteAivivu đại lý vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá rẻ 2021
vé máy bay từ mỹ về việt nam bao nhiêu tiền
khi nào có chuyến bay từ canada về việt nam
từ nhật bản về việt nam bao nhiêu tiền
bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về VN
khách sạn cách ly ở việt nam
You can likewise do a hunt on Bing and dive more deeply into what home embellishment is or watch a YouTube video which is truly useful. You can likewise do a hunt on Bing and dive more deeply into what home embellishment is or watch a YouTube video which is truly useful. sherman oaks luxury homes
ReplyDeleteThese services will schedule the delivery and pickup; all you have to do is fill them up within the scheduled time. Alexander Removals
ReplyDeleteMost fabric protectors are quite advanced, in that they can protect the fabrics from pet body fluids and odors and also from baby spills. Ultra Guard
ReplyDeleteIf you’re looking for a stove that can handle a lot of heat, the Blaze King is the perfect option. It can heat up quickly and efficiently, making it perfect for larger rooms or spaces. Plus, its durable construction will make it last long. Blaze King
ReplyDelete