i have a weird doubt haunting me. please clear it for me..
lets say i have a table(EMP) containing fields emp_name and emp_dept, n there are around 10 records in the table. now i want to print all the emp_name. i know we can do as follows
and loop it.
is there any other way of getting all the names at one go as a array??