Two Methods of retrieving SQL?
Answers were Sorted based on User's Feedback
Answer / srilekha
using select stmt and cursor u can retrive the records
| Is This Answer Correct ? | 127 Yes | 6 No |
Answer / prasad
two methods of retrieving SQL are
1) is select stmt
2) is cursor
we can use these commands to retrive the related records
| Is This Answer Correct ? | 62 Yes | 8 No |
Answer / ashvin ranpariya
two methods of retrieving SQL is
1) Select Statment
Example: select * from XYZTBLES;
2)Cursor
Example:
declare
type r_cursor is REF CURSOR;
c_emp r_cursor;
en emp.ename%type;
begin
open c_emp for select ename from emp;
loop
fetch c_emp into en;
exit when c_emp%notfound;
dbms_output.put_line(en);
end loop;
close c_emp;
end;
| Is This Answer Correct ? | 49 Yes | 5 No |
What is sql stand for?
How to come back in normal stage in Mutating Table if mutating table is locked or update data?
What are the key differences between SQL and PL SQL?
What is a temporal data type?
What is pl sql collection?
What are the uses of sysdate and user keywords?
How do you write an inner join query?
What will be the output for the below Query Select 'High' from dual where null = null;
Write a query to find the name of employees those who have joined on Monday.(based on column hire_date)
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
What are conditional predicates?
What is sql and also describe types of sql statements?
Oracle (3259)
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)