how can we write a column values horizontal by using sql stmt;
ex:
select name from table_name;(actual output)
a
b
c
d
require output is
a b c d
Answer Posted / ajit
select Replace ( Wm_concat( a ), ',' ) Actout
from Tablename;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which table is left in left join?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
what are the advantages and disadvantages of cascading style sheets? : Sql dba
What is input buffer in sql*plus?
How do I truncate a sql log file?
How do I run sql profiler?
How do I remove sql developer from windows 10?
How do I restart sql?
What is normalization in a database?
What is the difference between rename and alias?
What are the various restrictions imposed on view in terms of dml?
What is field delimiter?
What is the difference between a procedure and a function?
What does the hierarchical profiler does?
What is string join?