SQL Assignment operator

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

What is Assignment operator?

That operator which is used to assign any values to a variable is called assignment operator. In this chapter, you will know about the types of assignment operator and its example.

Types of Assignment operator

Assignment operator Example
= x = y
+= x += y
-+ x -= y
*= x *= y
/= x /= y
%= x %= y
SUMMARY

In this chapter we have learned assignment operator and it's type. In the next chapter you will learn about Set operater and its type with example.

 

Share your thought