![]() |
SQL Operators and Conditions![]() ![]() ![]() ![]() ![]()
What is Operators and Conditions ?
A condition is an expression of several operators or expressions that evaluated to True, False, or Unknown. There are two types of operators. Binary and Unary. The unary operator operators on only one operand. For example, to indicate a negative 10, use the unary operator to write 10. The binary operator operators on two operands. For example, to subtract two numbers you would write 6 4. Why use Operators and Conditions? Operators and conditions are necessary features of any computer language. They enable you to perform arithmetic, data comparisons, and a variety of other data manipulations that are necessary to support your application requirements. These Oracle tools can assist you in selecting specific set of rows. For example, you could request a set of rows where deptno 15. Then you would receive only the rows where the deptno is equal to 15. In this example, the operator was used. How to use Operators? Operators are used to manipulate individual data items and return a result. The following sections deal with different types of operators: arithmetic, character, comparison, logical, set and other types. Arithmetic Operators Arithmetic operators are used in SQL expressions to add, subtract, multiply, divide, and negate data values. The result of this expression is a numeric value. Table below shows the arithmetic operators. The Arithmetic Operators
+,- - Denotes a positive or negative expression. These are unary operators.
|
|
Domain NamesSQL Database Management Systems Relational Database Management System Properties of RDBMS Client Server Computing Oracle Relational Database Database Structure and Space Management SQL Data Types How to Use Data Types? What is Operators and Conditions Character OperatorsOperator Precedence Data Retrieval Using SQL Plus SQL Data Definitions Data Retrieval Using Select SQL Operator Precedence Selecting Rows and Columns The Group by Clause
Having Clause Union, Union all, Intersact and Minus Commands Playing with Numbers Date Functions Example of Date Arithmetic Working with Null Values
Joining Tables and Subqueries Views Synonyms Indexes Clusters Sequences Formatting Query Results with SQL Plus Data Integrity The Optimizer How Oracle Optimizes SQL Statements Evaluating Expression and ConditionsOptimization Hints PL-SQL PL-SQL Architecture Error Reporting Functions Character Functions Composite Data Types PL-SQL Structures How to use PL-SQL Structures Normalization Operator Precedence Cursor Error Handling Database Triggers Types of Triggers Locking Sub Programs Packages New and Improved Data Types Improved Select Statement Advanced Quering Improved Scalability Improved Performance Via Partitioning Object Relational Features Heterogeneous Data Access Improved Security Administration New Data Types Improved Select Statement Changes to the Select Statement Improved Scalability Data Partitioning Oriented Toward Objects Character Functions Creating Object Types Created Nested Tables Oracle8 and Distributed Database Oracle8 Database Management and Security Distributed Database Invoking Export Invoking ImportWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |