Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 default constraint?

990


What do you understand by user-defined function in the sql server?

943


What is ddl command?

965


Do I need a report server to run reports in my application?

164


Does partitioning improve performance?

965


What is the simplest way to create a new database in ms sql server?

999


What are the mathematical functions supported by sql server 2005?

1059


What are the advantages of user defined function?

976


Define left outer join?

956


What is collation sensitivity?

1053


how to invoke a trigger on demand? : Sql server database administration

1071


What are the advantages of having an index on the sql server?

921


hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail

2210


How to enable tcp/ip protocol on a sql server?

1152


Where cross join is used?

951