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 / a
update <table_name> set phno = Convert(int, '0' +
Convert(varchar(10),phno))
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is a field name?
Explain alternate key, candidate key and composite key in sql server?
what is a self join? Explain it with an example? : Sql server database administration
What are exact numeric data types in ms sql server?
What is the query and subquery?
What is table-valued sub query?
How to run queries with sql server management studio express?
how to restart sql server in single user mode? How to start sql server in minimal configuration mode? : Sql server database administration
How do I view views in sql server?
What is difference between sql and sql server?
What are transactions in sql?
How to select some specific columns from a table in a query in ms sql server?
What is scan table/view and seek table/view when its occurs? : sql server database administration
How use inner join in sql server?
List the different index configurations possible for a table?