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 the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
What is the purpose of the model database?
How to create function without parameter in sql server?
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture
How can we call UDF(User Define Function) using C# code in ASP.net ?
What do we need queues in sql service broker?
What is BLOCK statements in SQL?
What is built-in/administrator?
How raid can influence database performance?
What is a field name?
What are temporal tables in sql server 2016?
How can I create a new template for import ? : sql server management studio
What is primary key index?
What is the largest component inside a field?
How to select an exiting database using mssql_select_db()?