SQL Server and Oracle Database Administration
Covers SQL Server administration (filegroups, upgrades, authentication, instances), Oracle database concepts (SQL*Plus, PL/SQL, query execution), and general database concepts including views, catalogs, and stored procedures.
Questions
We can not execute a stored procedure on either local or remote SQL Server.
- True
- False
Stored procedures are compiled the first time they’re run but are not stored in a system table of the current database.
- True
- False
'Select Into'Statement retrieves rows and columns from one source table to a target table.
- True
- False
__is an interface you can use to write both SQL and PL/SQL scripts
- PL/SQL
- SQL
- SQL*PLUS
- JAVA
___is the language used to put data into the database, retrieve data from the database, control transactions, and administer your database
- PL/SQL
- SQL
- SQL*PLUS
- JAVA
__is the procedural programming language of Oracle, and with it you can write custom programs and procedural code for execution inside the database
- PL/SQL
- SQL
- SQL*PLUS
- JAVA
____setting that indicates the number of records that must be returned in the query results for SQL*Plus to show the message
- LINESIZE
- FEEDBACK
- PAGESIZE
- PAUSE
PAUSE command is useful, when you execute a query that is longer than a page in size, the output will stop until you hit the Enter key.
- True
- False
Main functions in parsing process are____
- Syntax Checking
- Semantic Analysis
- Both
- Checking the shared pool
- All of the above
___is the act of breaking the submitted statement down into its component parts, determining what type of statement it is (query, DML, or DDL), and performing various checks on it
- Parsing
- Optimization
- Row source generation
- Statement execution
- All of the above
Select the steps involved in executing statements in Oracle
- Parsing
- Optimization
- Row source generation
- Statement execution
- All of the above
View has no physical existence until it is called upon in a query
- True
- False
What is a catalog??
- Multiple rows
- Multiple coulumns
- Multiple schemas
- Multiple tables
How many default instances can you install on a single SQL Server server?
- 1
- 2
- 3
- 4
Which authentication mode lets you use both SQL Server logins and Windows logins?
- Kerebos authentication
- Windows
- Mixed Mode
- Network Service account
Which SQL Server 2005 services require that you install them with their own account? (Choose all that apply.)
- SQL Server Agent
- Log Reader Agent
- SQL Server
- Replication Agent
The term “in-place upgrade” refers to which type of upgrade?
- Installing SQL Server 2005 in the same directory as the current installation and replacing the SQL Server files
- Installing a new instance of SQL Server 2005 and sharing the older databases between the new instance and the old instance
- Installing a new instance of SQL Server 2005 on the same server as the old instance and moving the databases from the old instance to the new instance
- Installing a new instance of SQL Server 2005 on a different server from the old instance and moving the databases from the old server to the new server
Which upgrade data-movement method requires that users not be accessing the database you want to upgrade?
- Copy Database Wizard
- Detach/attach
- Backup/restore
- Manual scripting
Which of the following statements can you use to create a filegroup?
- ALTER DATABASE … ADD FILE
- ALTER DATABASE … MODIFY FILEGROUP
- ALTER DATABASE … ADD FILEGROUP
- ALTER DATABASE … REMOVE FILEGROUP
Which of the following are valid filegroup types? (Choose all that apply.)
- Read-only
- Write-Only
- Default
- Primary