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 / khalid moin

update <tablename>
set <column name>='0'||<coulmn name>;

this query will update the values present in column with
prefix 'o'

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 Federation and Federation Member?

92


How to enter binary string literals in ms sql server?

1143


Explain the rules for designing files and file groups in sql server?

978


Explain what are magic tables in sql server?

987


Define outer join in sql server joins?

924


What are the steps you should follow to start sql server in single-user mode?

894


What are the properties of primary key?

965


What are the steps to take to improve performance of a poor performing query? : sql server database administration

1028


what are defaults? : Sql server database administration

1080


How to rename an existing table with the "sp_rename" stored procedure in ms sql server?

1017


User wants only to display only pdf as export option in report manager. How to achieve this?

262


Name 3 ways to get an accurate count of the number of records in a table?

1020


What should be the fill factor for indexes created on tables? : sql server database administration

1129


Explain multiserver query

1027


what are user defined datatypes and when you should go for them? : Sql server database administration

1002