you are provided with the single table having say 4 col ie
fname lname age city , now the all records with displying of
only fname and lname is required but in this format say my
name is abhay khanna it will come like this
abhay-khanna
rahul-roy
gaurav-singh
the above format is required

Answer Posted / sudhakar

use replace function
select replace(a,' ','-') from sub_string

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is PROJECTION Operation?

613


What is abstracting periodical?

529


Can a database be shrunk with users active?

607


can an automatic recovery be initiated by a user? : Sql server administration

524


What are partitioned views?

584






Why use cursor in sql server?

554


What is identity?

559


Find nth lowest salary or get nth lowest salary?

597


What is an identity?

572


What is an indexing strategy?

538


What are the grouping functions?

532


What is buffer cash in sql server?

612


Can We Use Data-grids For Our Report In Ssrs?

147


Explain index in sql server?

600


Can you please explain the difference between primary keys and foreign keys?

660