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 are the different types of join?

1096


How to link tables in sql server?

889


What is the purpose of floor function?

974


Explain error handling in ssis?

961


what are the basic functions for master, msdb, model, tempdb and resource system databases? : sql server database administration

947


Define clusters?

993


How do I find the query plan in sql server?

905


What are the steps to follow to configure SQL*Net?

990


What is the user of Primary key?

920


What stored procedure can you use to display the current processes?

832


What is BLOCK statements in SQL?

1205


how to avoid cursors? : Sql server database administration

900


Can We Use Data-grids For Our Report In Ssrs?

177


What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?

1087


What are the differences between having and where clause.

918