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...

One table Test with single column. These are the values in
the table
a
b
c
d
e
f
g
h
I need a query (without using any variable) with output as -
a b c
d f f
g h

Answer Posted / anjana

Table test have one column as name:

Test
name
a
b
c
d
e
f
g

select replace(name,'e','f') from test order by name


Output will be:

a
b
c
d
f
f
g

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between truncate vs delete in mssql?

994


Explain the phases a transaction has to undergo?

985


Explain features of analysis services?

922


Define full outer join?

891


What is partition in sql server?

972


Can another user execute your local temporary stored procedures?

939


What is coalesce in sql server?

992


Can we write a distributed query and get some data which is located on other server and oracle database?

1175


Explain what is lock escalation?

987


Do you know what is a trace frag? Where do we use it?

955


What is difference between standardization and normalization?

1019


Do you know the capabilities of cursors?

1075


What command must you use to include the not null constraint after a table has already been created?

1050


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

882


What are trace flags and mention a few common trace flags used with sql server?

1035