-
-
-
What is the need of primary key as opposed to using not null and unique ?
We can create a column with' not null+unique' with out using primary key
-
What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?
% TYPE provides the data type of a variable or a database column to that variable. % ROWTYPE provides the record type that represents a entire row of a table or view or columns selected in the cursor. The advantages are : I. Need not know about variable's data typeii. If the database definition of a column in a table changes, the...
-
-
-
Global temporary tables
What is a global temporary table?
-
Finding object dependencies
How can we find out the dependencies on a table?
-
Oracle Mass Update
How do we do mass updates in Oracle PL SQL?
-
What is Raise_application_error ?
Raise_application_error is a procedure of package DBMS_STANDARD which allows to issue an user_defined error messages from stored sub-program or database trigger.
-
Using distinct keyword with the analytical functions
hi
I have to write a query to fetch 5 columns from the data. columns are title,description,msgs_count,alerts and severity.
msgs_count is count(title) over (partition by ) and alerts is sum(title partition by) over.
in case the duplicates of title are present in data. I want the title to come only once in the output but the msgs_count and alerts must not be affected. is it... -
How can I get recent 10 records out of 100 records
HI all
table contain some 1000 records, today I inserted 100 records into table, so I want first 10 records data from 100 records
how can I retrieve -
Query Nested Table Data
How to query nested table column of a table without using table function?
-
-
SQL Statements Syntax
How to display all rows and all the columns of employee table?
-
-
What will happen after commit statement ?
Cursor C1 is Select empno, ename from emp; Begin open C1; ...
-
-
-
PL/SQL Interview Questions
Ans