Total Pageviews

Tuesday, September 11, 2012

How many types of Ref Cursors are there?

3 comments:

  1. There are two types of REF CURSORs Strong and Weak. In Strong there is a return type where as in weak there is not.


    DECLARE
    TYPE ShopCurTyp IS REF CURSOR RETURN shop%ROWTYPE; -- strong
    TYPE RefCurTyp IS REF CURSOR; -- weak

    ReplyDelete
  2. Ref Cursors are cursor variables. There are 2 types, Strong (with return type) and Weak (without return type).

    ReplyDelete