What is difference between select statement and cursor

Answer Posted / bolearner

The above answer is not so correct.

cursor can fetch rowid, rownum also from table.

The select into cant retrieve more than 1 record in plsql.

But cursor can retrieve more records that can be viewed for modified later in plsql.

Cursors has attributes like open,close,fetch,notfound. Those attributes not applicable in select..into clause.

finally select..into in plsql, just select column values and storing into plsql variable.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make an if statement within a select statement?

545


Explain the structure of pl/sql in brief.

623


What is the best free sql database?

572


What is a sql statement?

537


What are the different ddl commands in sql?

582






What is the difference between inner join and outer join?

537


what is self join and what is the requirement of self join? : Sql dba

688


What is sql partition function?

620


Show the two pl/sql cursor exceptions.

618


how do you control the max size of a heap table? : Sql dba

542


what is commit? : Sql dba

619


What is plpgsql language?

534


Which is faster count (*) or count 1?

544


Explain the types of joins in sql?

575


describe transaction-safe table types in mysql : sql dba

513