CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Managing Databases with Oracle problems
1. The default extension for an Oracle SQL*Plus file is:
Options
A. .txt.
B. .pls.
C. .ora.
D. .sql.
Show Answer
Scratch Pad
Discuss
Correct Answer: .sql.
2. Which prefixes are available to Oracle triggers?
Options
A. :new only
B. :old only
C. Both :new and :old
D. Neither :new nor :old
Show Answer
Scratch Pad
Discuss
Correct Answer: Both :new and :old
3. In creating a procedure, you may get a message if you have compile errors. Which of the following is true?
Options
A. The line numbers reported match the line numbers you see in your text editor.
B. SQL*Plus will automatically show the errors to you.
C. To see the errors, enter SHOW ERRORS in SQL*Plus.
D. If there are no syntax errors, you will receive the message "NO ERRORS."
Show Answer
Scratch Pad
Discuss
Correct Answer: To see the errors, enter SHOW ERRORS in SQL*Plus.
4. Which of the following is NOT an Oracle-supported trigger?
Options
A. BEFORE
B. DURING
C. AFTER
D. INSTEAD OF
Show Answer
Scratch Pad
Discuss
Correct Answer: DURING
5. An Oracle System Change Number (SCN):
Options
A. is a value that is incremented whenever a dirty read occurs.
B. is incremented whenever a deadlock occurs.
C. is a value that keeps track of explicit locks.
D. is a value that is incremented whenever database changes are made.
Show Answer
Scratch Pad
Discuss
Correct Answer: is a value that is incremented whenever database changes are made.
6. Which of the following is
not
true of SQL views?
Options
A. Oracle views cannot use the ORDER BY clause in view definitions.
B. Oracle views are created using the standard SQL-92 CREATE VIEW command.
C. Oracle views can by queried.
D. The SQL-92 standard does not allow the use of the ORDER BY clause in view definitions.
Show Answer
Scratch Pad
Discuss
Correct Answer: Oracle views cannot use the ORDER BY clause in view definitions.
7. To obtain the structure of an Oracle table, the command to use is:
Options
A. STRUCTURE [
TableName
].
B. DESCRIBE [
TableName
].
C. DESCRIBE STRUCTURE [
TableName
].
D. DESC TABLE [
TableName
].
Show Answer
Scratch Pad
Discuss
Correct Answer: DESCRIBE [
TableName
].
8. SQL*Plus will finish the statement and execute it when the user types in this:
Options
A. A left slash ( \ ) followed by [Enter].
B. A colon ( : ) followed by [Enter].
C. A semicolon ( ; ) followed by [Enter].
D. A period ( . ) followed by [Enter].
Show Answer
Scratch Pad
Discuss
Correct Answer: A semicolon ( ; ) followed by [Enter].
9. Which SQL phrase is not supported by Oracle?
Options
A. ON DELETE CASCADE
B. ON UPDATE CASCADE
C. CREATE SEQUENCE [SequenceName]
D. DROP SEQUENCE [SequenceName]
Show Answer
Scratch Pad
Discuss
Correct Answer: ON UPDATE CASCADE
10. What type of failure occurs when Oracle fails due to an operating system or computer hardware failure?
Options
A. Application failure
B. Instance Failure
C. Media Failure
D. Rollback failure
Show Answer
Scratch Pad
Discuss
Correct Answer: Instance Failure
First
2
3
More in Database:
Advanced SQL
Data and Database Administration
Data Modeling with ER Model
Data Models into Database Designs
Data Warehousing
Database Design Using Normalization
Database Processing for BIS
Database Redesign
Distributed Databases
ER Model and Business Rules
Introduction to Database
Introduction to SQL
JDBC, Java Server Pages, and MySQL
Logical Database Design
Managing Databases with Oracle
Managing Multiuser Databases
Modeling Data in the Organization
Object-Oriented Data Modeling
Object-Oriented Database
ODBC, OLE DB, ADO, and ASP
Physical Database Design
SQL for Database Construction
SQL Server 2000
The Client-Server Database
The Database Development Process
The Database Environment
The Internet Database Environment
The Relational Model and Normalization
XML and ADO.NET