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

Do you know the isolation level that sql server support?

957


What is inline table-value user-defined function?

1105


How real and float literal values are rounded?

1153


Define magic tables in sql server?

1050


Explain concepts of analysis services?

954


How ssrs maintain security?

1084


While using a cursor, how can you differentiate between a deleted row and a row that has been inserted with null data values?

1038


Are null values the same as that of zero or a blank space?

1031


What is raiseerror? What is raiseerror?

1129


Tell me what is the significance of null value and why should we avoid permitting null values?

979


What is the status of services on passive node for failover cluster in sql server? : sql server database administration

1254


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

997


How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?

1027


What is mapping schema?

1020


What is user-defined function?

965