Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can i change the column name.

Answers were Sorted based on User's Feedback



How can i change the column name...

Answer / vikneswaran

cannot change column name

but can change size of the data type

Is This Answer Correct ?    1 Yes 4 No

How can i change the column name...

Answer / desh deepak

sp_rename 'tablename.oldcolumnname',tablenamename.newcolumnn
ame

Is This Answer Correct ?    0 Yes 4 No

How can i change the column name...

Answer / kshirsagar sambhaji

ALTER TABLE table_name
RENAME COLUMN old_name to new_name;

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More SQL Server Interview Questions

explain how to create a new schema in a database? : Sql server database administration

0 Answers  


How do I find the size of a sql server database?

0 Answers  


What are sql server procedures?

0 Answers  


How much space does sql server 2016 take?

0 Answers  


What is Schema? and why we use schemas?

4 Answers  


What is molap and its advantage? : sql server analysis services, ssas

0 Answers  


Hi All, I want to display all duplicate records in the table. My query has to fetch all the records which are duplicate(First Name or Last Name). Also I want the ability to also pull names where there might be a middle initial placed in the end of the first name field, (i.e., "Maria Z. " vs. "Maria") as well. Please guide me to find this. Table: ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 4 Shawn Livermore 5 Prem S 6 Jony Hoffman H 7 Zach Modan I need the query to filter......... ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 6 Jony Hoffman H 7 Zach Modan I hope this example will give you clear idea..... Thanks in Advance Prem

2 Answers  


What happens if time-only values are provided as date and time literals?

0 Answers  


Can you explain some of the DTS problems?

1 Answers   UBS, Wipro,


What is transaction server auto commit?

0 Answers  


Explain indexed view?

1 Answers  


How many tables can be joined in SQL Server?

0 Answers   Cap Gemini,


Categories