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

How to delete a login name in ms sql server?

1073


What are character string data types in ms sql server?

1248


Explain primary key in sql server?

1016


Can we use custom code in ssrs?

1114


What is snapshot report?

165


Can group functions be used in the order by clause in ms sql server?

1013


What are wait types?

1113


What is the purpose of the model database?

1015


How to create “dependant” parameter “make, model, year”

131


How to write a query with a right outer join in ms sql server?

913


How to drop an existing table?

1001


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1081


How to delete all rows with truncate table statement in ms sql server?

999


Explain isolation levels that sql server supports?

1039


What happens when converting big values to numeric data types?

1134