SQL Unary operator

In this chapter you will learn:
What is Unary operators?
Types of Unary operators

What is Unary operator?

The operator which takes single operand in a statement or an expression is called unary operator. There are so many unary operators described in this chapter that are used in sql.

Types of Unary operators

Unary Operator Description
+ Unary plus operator
- Unary minus operator
++ Increament operator
-- Decrement operator
! Logical complement operator

SUMMARY

We have learned in this chapter about unary operators and its examples. In the next chapters you will get more examples of operates and also you will get the excercises that are related with operators.

 

Share your thought