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

Will count(column) include columns with null values in its count?

1147


What are the types of sql server?

1095


What is sql language?

1229


What are the disadvantages of indexes?

1152


Can I delete event logs?

977


What is the significance of null value and why should we avoid permitting null values?

1032


Explain nested trigger in sql?

1128


What is subquery? Explain the properties of a subquery?

1033


You are designing a strategy for synchronizing an SQL Azure database and multiple remote Microsoft SQL Server 2008 databases. The SQL Azure database contains many tables that have circular foreign key relationships?

123


Your table has a large character field there are queries that use this field in their search clause what should you do?

923


How to turn off warning messages during php execution?

1105


What is sql server management studio? : sql server management studio

1121


How do I find the port number for sql server?

1017


How to use subqueries with the in operators in ms sql server?

1124


How to convert a numeric expression from one data type to another?

1091