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 / mechinenirao

update <tablename>
set Phno = '0' + phno

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sp_configure commands and set commands?

566


What is the difference between dbcc indexdefrag and dbcc reindex?

528


where can you add custom error messages to sql server? : Sql server administration

585


What are the different types of backups avaialabe in sql server 2005?

630


Explain the flow of creating a cube? : sql server analysis services, ssas

629






Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

528


Can you tell me some of the common replication dmv's and their use? : sql server replication

538


What are recommended options to be used while using db mirroring? : sql server database administration

577


What does COMMIT command do?

630


What is report snapshot in ssrs?

166


optimization techinques

2202


How many ways to create table-valued functions?

586


What is the web service used for reporting services?

98


what are the different ways to return the rowcount of a table?

579


Does the unique constraint create an index?

571