i want to display 1 to 10 numbers using one select statement.
Answer Posted / sumit
declare
abc varchar2(500) ;
begin
select 1||chr(0)||2||chr(0)||3 ..... into
abc from dual;
dbms_output.put_line(abc);
end;
cannot use chr(10) to take columns in sql.
way is to use rownum,row_number or any psuedo column like
sequence
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which query operators in sql is used for pattern matching?
Define tables and fields in a database
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
What are the advantages of pl sql over sql?
What is dml and ddl?
What is range partitioning?
what is table? : Sql dba
What does count (*) do in sql?
What is the difference between microsoft access and sql server?
what is isam? : Sql dba
What is the difference between functions, procedures, and packages in pl/sql?
What is bind variable in pl sql?
how can we submit a form without a submit button? : Sql dba
What is sqlservr exe?
What are the ddl commands?