D
D
Dima_E2021-04-26 08:25:06
SQL Server
Dima_E, 2021-04-26 08:25:06

What is the difference between is and = in SQL 2019?

Just installed the server and watch the commands.
Changes to a NULL table cannot be specified with =, just as string values ​​cannot be accessed by IS
What is IS used for and when can it be used ?
But the server doesn't throw a read error, it just doesn't commit the changes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-04-26
@Dima_E

IS is used only in IS NULL and IS NOT NULL conditions
https://stackoverflow.com/questions/5423751/how-do...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question