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 / anand k

Hi,

Yoy didn't mention the datatype of the column "phone
number"

prob the varchar datatype has used to the phno.

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

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if you delete a table that is used by a view?

993


What is nolock hint in sql server 2008

1131


How do I delete a sql server database?

1049


What are indexes in ms sql server?

1065


Why use “nolock” in sql server?

1064


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?

1150


How do users use Report Builder with SQL Server data sources?

160


How to connect of datebase with sql express.?

1107


What is snapshot report?

167


What is PROJECTION Operation?

1028


Which joins are sql server default?

1015


Explain about service Broker functions?

1035


What is difference between joins and subqueries?

1126


What is multilevel indexing?

935


Do you know how to send email from database?

1013