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

update <table name>
set column = '0' + ph no:

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete duplicate records based on single column from a table?

601


What is a performance monitor?

553


If no size is defined while creating the database, what size will the database have?

544


Why should we go for stored procedures? Why not direct queries?

570


What’s the use of custom fields in report?

564






What are “lost updates”?

610


Does index speed up select statements?

581


Explain how to maintain a fill factor in existing indexes?

524


What are entities and relationships?

548


Does the order of columns in update statements matter?

474


How will you decide the active and passive nodes?

637


SQL Server Architecture ?

1921


Where do you find the default Index fill factor and how to change it?

597


How to convert binary strings into integers in ms sql server?

548


How to convert a unicode strings to non-unicode strings?

555