|
-
You would need to use an explicit or implicit cursor, then use DBMS_OUTPUT.put_line to print the result in SQL*.
Explicit cursor in an anonymous PL/SQL block:
DECLARE
CURSOR emp_cur IS
SELECT * FROM emp;
BEGIN
FOR rec IN emp_cur
LOOP
DBMS_OUTPUT.put_line(rec.empno || ', ' || rec.ename);
END LOOP;
END;
/
Hope this helps.
CliffW
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|