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 |
Why use update_statistics command in sql server?
Tell me the difference between clustered and non-clustered index?
How many types of TRIGGERS are there in MS SQL Server?
8 Answers CarrizalSoft Technologies, TCS, United Healthcare,
Which TCP/IP port does SQL Server run on?
How many clustered indexes there can be on table ?
How to add more data to the testing table in ms sql server?
How to find the service pack installed? : sql server database administration
What are the essential components of sql server service broker?
What is view in sql?
Differentiate between a primary key and a unique key.
What do you mean by 'normalization'?
0 Answers Ernst Young, Thomson Reuters,
How to loop through result set objects using mssql_fetch_array()?