Answered Questions

  • How to convert rows in column using SQL in Oracle

    How to convert rows in column using SQL in Oracle; for example sl_no 1 2 3 4 output is 1234; How to convert one column value into rows using SQL for example employee_name Kumar output K u m a r

    Kandavel Durairaj

    • Nov 8th, 2013

    Using LISTAGG. Read the oracle documentation for more info.

  • Truncate and Delete concept

    Hi, Let us take a scenario such that I issue a delete on table emp and truncate on table emp1 which is exact replica (in terms of both structure and data) of emp table.Now , I issue a commit on both sessions. If I do a select * from emp and select * from emp1 now, which one should execute faster and why?

    Mohammad Mansoor

    • Feb 24th, 2016

    Truncate and Drop commands Rollback is not possible for Table, whereas Delete Command we rollback the Data

  • Select from table without using column name

    How can I select column values from a table without knowing the column name ?Suppose , select employee_id from employees , now I don't know the column name and I want to select the column.Please let me know the answer

    suganthi

    • Jul 3rd, 2015

    How to display data from table values without using select command?