The DECODE function decodes a column value or an expression and compares it with each specified search value, one by one. If the expression matches a search value, a result value corresponding to the matching search value is returned. If no match is found, a default result value, if included, is returned. However, if no default value is included, a NULL value is returned. The DECODE function is one of the few single-row functions that directly deal with NULL values. It can compare two NULL values and can return a NULL value.
Posts Tagged ‘1Z0-007’
What is DECODE function?
September 1st, 2009What is TO_CHAR (datetime) function?
September 1st, 2009TO_CHAR (datetime) is a single-row function that is used to convert a value of DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, or TIMESTAMP WITH LOCAL TIME ZONE datatype to a value of VARCHAR2 datatype in the specified date format.
What is system privilege?
July 15th, 2009System privilege is a privilege or right that allows a user to perform system level activities, such as connecting to a database, creating, altering, dropping, and managing database objects or features. Oracle does not retain the grantor of the system privileges. Therefore, even if a grantee has obtained system privileges from more than one grantor, these can be revoked by anyone with the appropriate privileges.
What is the syntax for creating a view?
July 15th, 2009Following is the syntax for creating a view:
[ (alias [, alias]…) ]
AS subquery
[WITH { READ ONLY | CHECK OPTION [CONSTRAINT ConstraintName] }];
where,
When is top-n analysis performed?
July 15th, 2009Top-n analysis is performed when the n topmost or the n bottommost records from a table are to be displayed. For example, top-n analysis can be performed in the following conditions:
What is a Cartesian product?
July 15th, 2009A join, between two or more tables, with no join condition results in a Cartesian product. A Cartesian product is a set of all possible combinations of rows drawn from each table involved in the join. In other words, Oracle combines each row of one table with each row of the other table. For example, the Cartesian product of two tables with five rows each, has twenty-five rows.
- Click here to get free oca-dba10g OCA DBA 10g exam practice questions.
- Download free practice test for oca-dba-11g OCA DBA 11g exam.
- Click here to download oca-dba9i test study guide and practice question.
- Download practice question and study guide for oca-dba9i-pl-sql for exam.
- Click here to get free oca-pl-sql OCA PL/SQL Developer exam practice questions.
- Click here to download ocp-dba10g test study guide and practice question.
- Best exam simulation Oracle ocp-dba-11g download free trial.
- Download free practice test for Oracle OCP DBA 9i exam.
- Get certified in first attempt download ocp-pl-sql - OCP PL/SQL Developer simulation.
- Click here to get free ocm-10g Oracle Certified Master 10g exam practice questions.
- Pass Oracle PL/SQL Developer in first attampt.
- Download free practice test for Oracle Performance Tuning Expert 11g exam.
- Get certified in first attempt download rac-administrator-certified-experts-10g - RAC Certified Expert 10g simulation.
- Pass SQL Certified Expert 10g in first attampt.
- Pass SQL Certified Expert 11g in first attampt.
- Become Oracle Oracle OCA DBA 9i Introduction to SQL certified.
- Get certified in first attempt download 1Z0-047 - Oracle Database SQL Expert simulation.
- Download practice question and study guide for 1Z0-051 for exam.
What is IS NOT NULL operator?
July 15th, 2009IS NOT NULL is a comparison operator that is used to compare a value with a NULL value. It evaluates to TRUE if the value is not NULL, otherwise it evaluates to FALSE.
- Pass Oracle oca-dba10g - OCA DBA 10g
- Pass OCA DBA 11g in first attampt.
- Become Oracle OCA DBA 9i certified.
- Download free practice test for Oracle OCA DBA 9i PL/SQL exam.
- Pass OCA PL/SQL Developer in first attampt.
- Download free practice test for ocp-dba10g OCP DBA 10g exam.
- Click here to download ocp-dba-11g test study guide and practice question.
- Download free practice test for ocp-dba9i OCP DBA 9i exam.
- Pass Oracle ocp-pl-sql - OCP PL/SQL Developer
- Download free practice test for ocm-10g Oracle Certified Master 10g exam.
- Download free practice test for Oracle Oracle PL/SQL Developer exam.
- Become Oracle Performance Tuning Expert 11g certified.
- Get certified in first attempt download rac-administrator-certified-experts-10g - RAC Certified Expert 10g simulation.
- Download free practice test for sql-certified-expert-10g SQL Certified Expert 10g exam.
- Pass SQL Certified Expert 11g in first attampt.
- Download free practice test for Oracle Oracle OCA DBA 9i Introduction to SQL exam.
- Become Oracle Oracle Database SQL Expert certified.
- Get certified in first attempt download 1Z0-051 - OCA: Oracle Database 11g-SQL Fundamentals-I simulation.
What is DML?
July 12th, 2009Data Manipulation Language (DML) is a category of SQL statements that query and update data in a database. Statements such as SELECT, UPDATE, INSERT, DELETE etc., are included in this category. These statements can be grouped with Data Control Language (DCL) statements.
- Download free practice test for oca-dba10g OCA DBA 10g exam.
- Download free practice test for oca-dba-11g OCA DBA 11g exam.
- Pass OCA DBA 9i in first attampt.
- Download free practice test for Oracle OCA DBA 9i PL/SQL exam.
- Download practice question and study guide for oca-pl-sql for exam.
- Click here to download ocp-dba10g test study guide and practice question.
- Get certified in first attempt download ocp-dba-11g - OCP DBA 11g simulation.
- Click here to download ocp-dba9i test study guide and practice question.
- Get certified in first attempt download ocp-pl-sql - OCP PL/SQL Developer simulation.
- Download practice question and study guide for ocm-10g for exam.
- Pass Oracle PL/SQL Developer in first attampt.
- Become Oracle Performance Tuning Expert 11g certified.
- Best exam simulation Oracle rac-administrator-certified-experts-10g download free trial.
- Pass Oracle PL/SQL in first attampt.
- Download free practice test for 1Z0-007 Oracle OCA DBA 9i Introduction to SQL exam.
- Click here to download 1Z0-033 test study guide and practice question.
- Download practice question and study guide for 1Z0-040 for exam.
- Pass OCA, 10g New Feature for Oracle 8i Ocp in first attampt.
- Click here to download 70-432 test study guide and practice question.
What is a tablespace?
July 10th, 2009A tablespace is a logical database structure for storing database segments. By default, each Oracle database has a single tablespace, known as SYSTEM, which stores data dictionary tables and indexes. Other tablespaces may also be configured for a database for performing some specific tasks such as:
- Partial backup and recovery operation
- Allocation of quotas for users
Additional tablespaces can also be created as per the requirements of the applications installed on the system. Such tablespaces can be used for storing application specific segments.
- Pass OCA DBA 10g in first attampt.
- Best exam simulation Oracle oca-dba-11g download free trial.
- Download free practice test for oca-dba9i OCA DBA 9i exam.
- Pass OCA DBA 9i PL/SQL in first attampt.
- Become Oracle OCA PL/SQL Developer certified.
- Pass OCP DBA 10g in first attampt.
- Download practice question and study guide for ocp-dba-11g for exam.
- Pass OCP DBA 9i in first attampt.
- Download free practice test for ocp-pl-sql OCP PL/SQL Developer exam.
- Click here to get free ocm-10g Oracle Certified Master 10g exam practice questions.
- Pass Oracle oracle-pl-sql - Oracle PL/SQL Developer
- Download free practice test for Oracle Performance Tuning Expert 11g exam.
- Download practice question and study guide for rac-administrator-certified-experts-10g for exam.
- Download free practice test for 1Z0-007 Oracle OCA DBA 9i Introduction to SQL exam.
- Download practice question and study guide for 1Z0-031 for exam.
- Click here to download 1Z0-033 test study guide and practice question.
- Become Oracle Oracle Database 10g: Admin - II certified.
- Pass OCA, 10g New Feature for Oracle 8i Ocp in first attampt.
- Download free practice test for Oracle OCP: Oracle Database 11g: Administration II exam.
What is DECODE function?
July 8th, 2009The DECODE function decodes a column value or an expression and compares it with each specified search value, one by one. If the expression matches a search value, a result value corresponding to the matching search value is returned. If no match is found, a default result value, if included, is returned. However, if no default value is included, a NULL value is returned. The DECODE function is one of the few single-row functions that directly deal with NULL values. It can compare two NULL values and can return a NULL value.