View Full Version : PLSQL
- What is the difference between SQL table and the PLSQL table
- How to retrieve only duplicate values in a table
- What is TABLE SPACE
- Write the SQL query for creating database backup
- Explain the Difference between sub query and co-relater query
- What is the difference between function and procedure
- What is SGA
- What is pseudo column
- How to connect oracle database from UNIX. is there any way other than using SQLPLUS
- What is the difference between unique key and primary key
- Can we create command in the PLSQL block
- What is the default Oracle triggers
- What is inline command
- What are the advantages and disadvantages, compared to the standard SQL and SQL*plus
- When we give SELECT * FROM EMP; How does oracle respond
- What is the boundary line in varrays
- What is the bond code in materialized view
- Write a query to delete similar records in different tables with same structure
- Write a query to delete similar records in particular fields in different tables
- Write a query to delete similar records in same table
- How will we see framework of a table
- What are the advantages of package
- What is difference between procedure and function, procedure and trigger
- Delete the emps whose salaries are lowest sals of their own dept
- How can I pass the inner procedure value to outer procedure
- What is bulk bind
- How cursor allocate context area for executing the SQL statement
- What is global table
- What is purge command explain about oracle performance tuning
- Can a table have two primary keys
- What is mean by forward declaration and where we'll use it
- What is the order of pre-defined exceptions
- What is the difference between RDBMS and DBMS
- What is a bitmap index
- What is global variable in PL/SQL
- What is the command for user data type
- How to convert ms-excel file to oracle table
- What are the different types of joins
- What is variable in package specification
- How can we read and write files from PL/SQL
- How can we create a user defined datatype
- What is the difference between oracle 8i and oracle 9i
- What is the difference between cursor and procedure in a package
- What is Overloading of procedures
- What is Data Concurrency and Consistency
- How to return more than one value from a function
- What is mutating table
- How to call DDL statements from PL/SQL
- How to perform a loop through all tables in PL/SQL
- How to maintain the history of code changes of PL/SQL
- What are Dynamic SQL statements
- What is PL/SQL and what is it used for
- What is constraining table
- How PL/SQL source code can be protected
- What is the result, when NULL is compared with NULL
- What can be a size of a PL/SQL block
- How many LONG columns are allowed in a table
- What are the data types allowed in a table
- What is an Integrity Constraint
- Explain Connect by Prior
- What are the types of SQL Statement
- How to access the current value and next value from a sequence
- Is it possible to access the current value in a session before accessing next value
- Is it possible to use LONG columns in WHERE clause or ORDER BY
- Does it possible to pass object (or) table as an argument to a remote procedure
- What is CYCLE/NO CYCLE in a Sequence
- What is a database link
- What is on DELETE CASCADE
- What are the difference between SUBSTR and INSTR
- What are the usage of SAVEPOINTS
- What is correlated sub-query
- What is difference between TRUNCATE & DELETE
- What is the Subquery
- Explain UNION,MINUS, UNION ALL, INTERSECT
- What are the pre requisites
- What is ROWID
- What is the fastest way of accessing a row in a table
- what is NOCOPY
- What is meant by DML
- What is hash join
- What are the forced views
- What are the advantages of primary key over unique, notnull
- What are the advantages of the packages
- What is the purpose of update command in oracle
- How to find string or key value using PL/SQL code
- Does SQL*Plus contains PL/SQL Engine
- Which one is the Best approach to put code, among Triggers and Procedures
- What is the best strategy to use COMMIT in a PL/SQL loop
- How to execute operating system command from PL/SQL
- How to create a primary key with out creating an index
- When a procedure /package is getting invalidated
- How will you activate/deactivate integrity constraints
- Where the integrity constraints are stored in Data Dictionary
- What is difference between CHAR and VARCHAR2
- What is the maximum SIZE allowed for each type
- Which one of the following join types will always create a Cartesian Product
- Which one of the following pairs of aggregate functions you use with character fields
- What SQL keyword must immediately follow the UNION ALL statement
- How are multiple column = value pairs delimited in SET clause of an UPDATE statement
- Which clause of an UPDATE statement allows you to affect only certain rows of a table
- If you want a column to be part of the result set, after which SQL keyword
- What is the difference between UNIQUE CONSTRAINT and PRIMARY KEY
- What is the main difference between a UNION statement and a UNION ALL statement
- SELECT a.field1, b.field2, c.field3, d.field4 2 FROM atable a, atable b, ctable c
- How many rows are returned by the sample code above
- SELECT emp_num, years, SUM(salary) FROM sales UNION ALL SELECT emp_id
- SELECT category, type, AVG(price) FROM products GROUP BY category, type ORDER BY 1, 2
- What is the basic structure of PL/SQL
- What are the components of a PL/SQL block
- What are % TYPE and % ROWTYPE ? What are the advantages of using these over data type
- What is difference between % ROWTYPE and TYPE RECORD
- What is PL/SQL table
- Explain the two type of Cursors
- What is the cursor attributes used in PL/SQL
- What are the PL/SQL Statements used in cursor processing
- What will happen after commit statement
- Explain the usage of WHERE CURRENT OF clause in cursors
- What is a database trigger? Name some usages of database trigger
- How many types of database triggers can be specified on a table
- Give the structure of the function
- Give the structure of the procedure
- What are the two parts of a procedure
- What are the modes of parameters that can be passed to a procedure
- What are advantages of Stored Procedures
- What is difference between a PROCEDURE & FUNCTION
- Where the Pre_defined_exceptions are stored
- What are the return values of functions SQLCODE and SQLERRM
- What is Raise_application_error
- What is Pragma EXECPTION_INIT ? Explain the usage
- What is an Exception? What are types of Exception
- Write the order of precedence for validation of a column in a table
- What are two virtual tables available during database trigger execution
- Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT
- What happens if a procedure that updates a column of table X is called in a database
- What is a cursor for loop
- What is organizational index
- What is the difference between join and union
- What is the difference between anonymous block and named blocks
- What is the difference between implicit conversions and explicit conversions
- What is a 'instead of trigger'
- What are the advantages of cursors than procedures
- What is the difference between to_char and to_date functions
- What is sql and plsql
- Name the tables where characteristics of Package, procedure and functions are stored
- How packaged procedures and functions are called from the following
- What are two parts of package
- Explain how procedures and functions are called in a PL/SQL block
- What is difference between a Cursor declared in a procedure and Cursor declared
- When would you denormalize
- How do you get all records from 2 tables Which join do you use
- How can you create Cursor with parameters
- How you will create Toad Function
- What is difference between procedure and function
- What is meant by forward declaration in functions
- What are the Restrictions on Cursor Variables
- How can we schedule the procedure to run automatically
- What are definer rights invoke rights
- How would you hide a table in sql. ie the table can be only visible to its maker
- How the execution will be done in exceptions
- What is the difference between SQL/PL-SQL/EMBEDDED SQL
- What is difference between "Primary key" and "Unique key"
- What is the forward declaration in packages
- How to fetch the rows by dynamically passing table name through cursor
- State the difference between implicit and explicit cursor's
- What is difference between stored procedures and application procedures
- How to import .dmp file in lower version of oracle from higher version
- What is ref cursor in PL/SQL
- What is a self join
- What are different types of joins
- What is a trigger
- What are code pages
- What is a constraint and types of constraints
- What is an index and types of indexes
- How many number of indexes can be used per table
- What are nested triggers
- What is INSTEAD OF trigger
- What are Types of backups
- What is the difference between granting and creating a view
- How to return multiple records from procedure
- What is user defined stored procedures
- How do you call in & out parameters for stored procedures
- What are the blocks in stored procedure
- What are the differences between Database Trigger and Integrity constraints
- What is a Procedure
- What is difference between Procedures and Functions
- What is the difference between binary_integer and pls_integer
- What will be the output ?
- What will be the output
- Can we update a view which is created from two tables
- What are the demerits of SQL
- What cursor type do you use to retrieve multiple record sets
- What are the different types of PL/SQL program units that can be defined and stored
- How do you assign Construct the where clause without concatenating Field value pairs
- What action do you have to perform before retrieving data from the next result set
- What are the difference between PL/SQL table and normal PL/SQL table
- State the advantage and disadvantage of Cursors
- How to display the contents of a current record fetched in a reference cursor
- In a Distributed Database System Can we execute two queries simultaneously
- How to come back in normal stage in Mutating Table if mutating table is locked
- What are difference between views and materialized views