1.when will you use week refcursor and when will you use
strong ref cursor ?
2.what is the use of sql trace..how do you use it ?
3.can you please send all the sql plus commands...like set
line 6000....
Answer / gourvendra singh
Strong Ref Cursor: Strong ref cursor are predetermined and
so we cannot use query having different structure then the
defined one
Week Ref Cursor : Week Ref Cursor are not predetermined and
so we can use query having different structure then the
defined one.
With the help of SQL Trace we will get the result of the
query with the execution plan and statistics of the query.
It is very difficult to send you all the SQL Plus Command,
you can check the same in SQL Plus window under option menu
in Environment there you will find all the SQL plus
commands.
| Is This Answer Correct ? | 6 Yes | 2 No |
Create table emp (id number(9), name varchar2(20),salary number(9,2)); The table has 100 records after table created.Now i nee to change id's Datatype is to be Varchar2(15). now Alter table emp modify(id varchar2(15),name varchar2(20), salary number(9,2)); Whether it will work or returns error? post answer with explanation.
Explain uses of cursor.
What operating systems are supported by oracle sql developer?
Is not equal in sql?
How many LONG columns are allowed in a table?
What cursor type do you use to retrieve multiple recordsets?
17 Answers Apollo, CTS, IonIdea, Microsoft, Oracle, TCS, Vmoksha, Wipro,
need to split a string into separate values. eg. col1 col2 ---------- 100 - 'a,b,c' 200 - 'a,x,d,e' 300 - 'c' result: value count ------------- a - 2 b - 1 c - 2 etc.
Do we need to create index on primary key?
Explain the purpose of %type and %rowtype data types with the example?
Can you upgrade sql express to full sql?
how to get a list of indexes of an existing table? : Sql dba
Why left join is used in sql?
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)