How to Add a column,with a default value as 'ÁA' in a Status column and current date in created_date column to an employee_master table?

 Posted by vishalneeraj-24503 on 1/13/2014 | Category: Sql Server Interview questions | Views: 737 | Points: 40
Answer:

Alter Table Employee_Master

Add
Status Varchar(2) Null Default AA
,Created_Date DateTime Null Default GetDate();


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response