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
How to insert stored procedure result into temporary table?
How to create a scrollable cursor with the scroll option?
What is the meaning of sql server?
Can we write trigger for view?
Which Model uses the SET concept
How to provide default values to stored procedure parameters?
How do I shrink an ldf file?
Indexes are updated automatically is the full-text index also updated automatically?
Explain few of the new features of sql server 2008 management studio
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
What are drillthrough reports?
What is transactional replication?
Can a database be shrunk to 0 bytes, if not, why?
Can you explain different types of joins?
How to convert a numeric expression from one data type to another?