GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  PL/SQL

 Print  |  
Question:  I have to replace a particular value say "_" with a space in particular column of a table, kindly provide me the query how to achieve this.



December 12, 2006 06:03:13 #1
 Gupteshwar   Member Since: Visitor    Total Comments: N/A 

RE: I have to replace a particular value say "_" with ...
 

You can use REPLACE function in order to replace a digit or character in a column.

SELECT REPLACE(col1, '_', ' ') FROM table_1.

This function can also be used to update column's records.

Try this function. Hope it would work.

     

 

Back To Question