What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 471 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > SQL Server > Alter table to add new column ...
Ranjeet_8

Alter table to add new column

 Code Snippet posted by: Ranjeet_8 | Posted on: 8/9/2012 | Category: SQL Server Codes | Views: 319 | Status: [Member] | Points: 40 | Alert Moderator   


Create Table:
CREATE TABLE [dbo].[Employee](

[First_Name] [varchar](50) NULL,
[City] [varchar](50) NULL
)

Alter table to add new column :
ALTER TABLE Employee

ADD eBonus SmallInt Null

Found interesting? Add this to:


 Responses

Srilu.Nayini577
Posted by: Srilu.Nayini577 | Posted on: 8/11/2012 | Level: Starter | Status: [Member] | Points: 10 | Alert Moderator 

alter table Employee
add sal double

SRILATHA
.Net Developer

>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 10:54:53 PM