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...

I have a table in which phno is one of the columns.i do have
some values in tht phno column.i need to update phno column
values with 0(zero) as prefix.give me a correct solution plz...

Answer Posted / rajshekar

update <tablename>
set phno=cast (0 as datatype(1))+phno

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a livelock?

952


Explain about system database?

1053


What is sleeping status in sql server?

1020


How to execute multiple stored procedures at one time in sql server?

1001


Why use view instead of a table?

946


Can we insert data if clustered index is disabled?

937


What is the fillfactor concept in indexes?

974


How to insert data into an existing table?

971


What is the difference between delete and truncate statements?

1068


Why transaction is important?

971


What is difference between primary key and foreign key?

896


How do I install only the client tools of sql server 2000?

1061


How do I edit a procedure in sql server?

952


Difference between primary key and clustered index?

998


Why we use trigger in sql server with example?

956