I do not think so. You can not retrive the values from a cursor with OUT KNOWING THE COLUMN NAME. You can not have (same name)/ (No Name) for all in a family.
Above answer was rated as good by the following members: kperumal75
RE: Hi, How do we display the column values of a table...
I do not think so. You can not retrive the values from a cursor with OUT KNOWING THE COLUMN NAME. You can not have (same name)/ (No Name) for all in a family.
RE: Hi, How do we display the column values of a table...
Declare a variable using PL/SQL ROWTPE ( l_Record EMP ROWTYPE)In the cursor you can say .. cursor cursorname is select * from emp..Open cursor; loop .. fetch cursorname into l_Record.. Display the values from l_Record using dbms_output.put_line.Close the loop and cursor
RE: Hi, How do we display the column values of a table...
I Don't think so If you are trying to populate the data using Records then also you should know name of the columns from the table or select query of the cursor.
RE: Hi, How do we display the column values of a table...
No.its not possible to fetch column value from a cursor without knowing the column name there is nothing to do with cursor cursor is nothing but explicitly created memory area to fetch record using sql query itself..and its not possible to retrieve any value without knowing column name if it is not like that plz expalin with an example..