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 / 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 |
When we should use and scope of @@identity?
What is merge replication?
Scalability, Availability, Integration with internet, etc.)?
Where sql server usernames and passwords are stored in a sql server?
What is perspective, have you ever created perspective? : sql server analysis services, ssas
How many types of schemas are there?
In which year relase the 7.0& 2000 & 2005?
What is wrong with sql server client libarary dll, ntwdblib.dll?
HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY IN EMP TABLE
What is history table in sql server?
Name 3 ways to get an accurate count of the number of records in a table?
What is @@error in sql?