-
Exception helps us to graciously handle the errors
-
Not Synced
which is happening in the PL SQL programs
-
Not Synced
there are two types of errors
-
Not Synced
when you write a program, the first type of
-
Not Synced
error is called as syntax error the example
-
Not Synced
which is shown here is having three variables
-
Not Synced
v1, v2 and result
-
Not Synced
v1 is assigned with 5, v2 is assigned with 1
-
Not Synced
in result we are trying to assign
-
Not Synced
value dividing v1 by v2
-
Not Synced
but when you assign the value to the result
-
Not Synced
we are supposed to give colan equal to
-
Not Synced
but we are using equal to here
-
Not Synced
when you are using colan equal to
-
Not Synced
it is an assignment operator
-
Not Synced
when we equal to it is an comparison operator
-
Not Synced
actually this is not an condition
-
Not Synced
so this a syntax error
-
Not Synced
when we try to run this particular program
-
Not Synced
without doing anything
-
Not Synced
the compiler itself identifies the error
-
Not Synced
says that there is an error in the program
-
Not Synced
so without fixing the particular syntax error
-
Not Synced
we can cannot work with this particular program
-
Not Synced