databases Online Quiz - 212
Description: databases Online Quiz - 212 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: databases |
- With SQL, how can you return the number of records in the "Persons" table?
- Which SQL statement is used to return only different values?
The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true
How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?
Your database operates in ARCHIVELOGmode. User-managed consistent backups are performed every Sunday night. On Tuesday, client A drops a table at8:00 a.m.as follows: SQL> DROP TABLEcust_ordPURGE; Table dropped. Client B executes a query at9:00 a.m.on the same table as follows: SQL> SELECT * FROMcust_ord SELECT * FROMcust_ord * ERROR at line 1: ORA-00942: table or view does not exist Client B needs the dropped table and reports the problem to you. With reference to this scenario, which action should you take?
One of the tablespaces is read-only in your database. The loss of all control files forced you to re-create the control file. Which operation do you need to perform after re-creating the control file and opening the database?
The data file belonging to theSYSTEMtablespaceis corrupted and no backup of the file is available. How do you recover the data file?
You work as a database administrator for TCS .com. You decided to manage client and server connections using Local Naming method in TCS .com. When you try to connect to the database you get the following error: ERROR: ORA-12154:TNS:couldnot resolve service name Which network configuration files would you look into to resolve this error?
You work as a database administrator for TCS .com. In your production database, the size of Database Buffer Cache needs to be increased immediately for the current as well as future instances of the database. The Oracle instance has been configured to accommodate any changes in the size of the memory structures. At this is production database, you want to accomplish this task with no impact on the user's connections. Which activity must you have completed before accomplishing this task?
Your TCS .com database is in ARCHIVELOG mode. The data file that belongs to the SYSTEMtablespacehas become corrupted. Up to what point can you recover the database?
You work as a database administrator for TCS .com. The UNDO_RETENTION parameter in your database is set to 1000 and undoretention is not guaranteed. Which statement regarding retention of undo data is correct?
You work as a database administrator for TCS .com. On a Monday morning, you find the database instance aborted. After inspecting the alert log file, you execute the STARTUP command in SQL*Plus to bring the instance up. What statement is true?
You work as a database administrator for TCS .com. The database is open. A media failure has occurred, resulting in loss of all the control files in your database. Which statement regarding the database instance is true in this scenario?
You are working on the TCS database. What is the default name of the alert log file in this database?
In your DB -multiplexed online redo log files,one of the members in a group is lost due to media failure? You wud..
Which statement regarding an incomplete recovery is true?(Oracle 10g)
In which scenarios would you rebuild an index?
A redo log file is corrupted while the database is open;You would ..
Which statement regarding an incomplete recovery is true(10g)?
Which file is not supported with RMANBACKUP command?