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 |
Can we call stored procedure in trigger?
Do you know what are acid properties?
How to encrypt Strored Procedure in SQL SERVER?
What are dml (data manipulation language) statements in ms sql server?
what is the purpose of creating view is sql server 2000
What is sql server profiler?
What are synonyms?
What is Dedicated Administrator Connection in sql server 2005?
what is the system function to get the current user's user id? : Sql server database administration
If a stored procedure is taking a table data type, how it looks?
What is sub-query in sql server? Explain its properties.
What are SQL Jobs, please mention the use of it and how to create them.
Oracle (3259)
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)