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

Please illustrate physical database architecture? : SQL Server Architecture

982


What are diverse clauses that form a part of sql?

1065


How to insert a new row into a table with "insert into" statements in ms sql server?

970


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

1135


what is the difference between delete table and truncate table commands? : Sql server database administration

1031


what type of index will get created after executing the above statement? : Sql server database administration

971


How do I create an extended event in sql server?

948


When would you use the stored procedures or functions?

998


What is field with example?

916


How do I port a number to sql server?

1032


What is a benefit of using an after insert trigger over using a before insert trigger?

981


Can we add an identity column to decimal datatype?

993


What are different types of roles provided by ssrs?

150


Some queries related to SQL

980


What is the difference between stored procedure and user defined functions?

1183