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 / khalid moin

update <tablename>
set <column name>='0'||<coulmn name>;

this query will update the values present in column with
prefix 'o'

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awe?

577


Explain what is the purpose of sql profiler in sql server?

560


Explain table valued parameters in sql server? Why tvp used?

565


What is implicit cursors?

562


What is a data source or ds? : sql server analysis services, ssas

578






What are user-defined functions (udfs) in sql server?

578


Can you explain full-text query in sql server?

556


Are null values the same as that of zero or a blank space?

588


what are isolation levels? : Sql server database administration

503


What is database isolation in sql server? : sql server database administration

573


What are the types of indexing?

604


Explain stored procedure?

612


What is cte (common table expression)?

603


How are the exceptions handled in sql server programming?

613


what data regions are and what are the different data regions?

101