What will you get by the cursor attribute sql%rowcount?
Answer / Neha Tewari
The cursor attribute 'sql%rowcount' returns the number of rows affected by the last SQL statement executed within the cursor.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?
What is having clause in sql?
what are Dynamic SQL statements?
Can we use commit inside a trigger?
How do you declare a user-defined exception?
What is output spooling in sql*plus?
why sql is used as interpreter frequently rather than a compile?
What are the qualities of 2nf?
If a cursor is open, how can we find in a pl/sql block?
I want to display the employees who have joined in last two months. (It should be executed randomly means If I execute the query in March it should display Jan and Feb joined employees. Same query if i execute in Feb, 2007 it should display dec, 2006 and jan 2007 joined employees.
What is correlated sub-query?
What is the primary key?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)