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 |
How to generate create view script on an existing view?
Which stored procedure will you be running to add a linked server?
How do I get to sql server configuration manager?
you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration
When do you create cluster and noncluster index?
Define left outer join?
How are SQL Server databases physically stored under Windows 2000?
what is Buffer cash and Log Cache? Can you Explain it?
What is the default port for SQL Server over a firewall?
How can you append an identity column to a temporary table?
What are the source of constraints?
What is the difference between ddl,dml and dcl commands?
0 Answers BirlaSoft, Verifone,
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)