Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are cursor attributes?

Answers were Sorted based on User's Feedback



What are cursor attributes?..

Answer / chandrasekar

%type
%rowtype

Is This Answer Correct ?    0 Yes 0 No

What are cursor attributes?..

Answer / dmk.java@gmail.com

%found
%notfound
%count
%isopen

Is This Answer Correct ?    0 Yes 0 No

What are cursor attributes?..

Answer / sushmita pathak

Whenever we work with explicit and implicit cursors
(including cursor variables), PL/SQL provides a set of
cursor attributes that return information about the cursor.
PL/SQL 8.1 adds another, composite attribute, SQL%
BULK_ROWCOUNT, for use with or after the FORALL statement.
All of the current attributes are as follows

cur %FOUND:
Returns TRUE if the last FETCH found a row

cur %NOTFOUND:
Returns FALSE if the last FETCH found a row

cur %ISOPEN:
Returns TRUE if the specified cursor is open

cur %ROWCOUNT:
Returns the number of rows modified by the DML statement

SQL%BULK_ROWCOUNT:
Returns the number of rows processed for each execution of
the bulk DML operation


In these attributes, cur is the name of an explicit cursor,
a cursor variable, or the string "SQL" for implicit cursors
(UPDATE, DELETE, and INSERT statements, since none of the
attributes can be applied to an implicit query). The %
BULK_ROWCOUNT structure has the same semantics as an index-
by table. The n th row in this pseudo index-by table stores
the number of rows processed by the n th execution of the
DML operation in the FORALL statement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

Is jdbc part of j2ee?

0 Answers  


What are 4 drivers available in JDBC? At what situation are four of the drivers used?

0 Answers  


What is a datasource in java?

0 Answers  


What will happen when ResultSet is not closed?

1 Answers   CTS,


how to prevent finally block from execution

4 Answers   Bosch,


Why jdbc is used in java?

0 Answers  


How can I get information about foreign keys used in a table?

0 Answers  


What is JDBC Statement?

0 Answers  


Explain about Join?

0 Answers  


What is in terms of jdbc a datasource?

0 Answers  


Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.

4 Answers   Cybermate, Hexaware,


Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?

0 Answers  


Categories