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 store procedure?
Explain time data type in sal server 2008?
How to download and install microsoft sql server management studio express?
How do you run a trace?
Do you know what guidelines should be followed to help minimize deadlocks?
Tell me what do you mean by an execution plan? Why is it used? How would you view it?
What is difference between createstatement and preparedstatement?
List the data types available in mssql?
How do you Implement SSIS Packages in your Project?
How do you check sql server is up and running?
Does partitioning help performance?
Explain the difference between functions and stored procedures in sql server?
What is a sql join?
What is a derived table?
How to manipulate data from one table to another table ?