23 Ağustos 2022 Salı

ISNULL metodu

Giriş
Açıklaması şöyle
Syntax : ISNULL(expression, value)

The ISNULL() function returns a specified value if the expression is NULL. If the expression is NOT NULL, this function returns the expression.
Örnek
Şöyle yaparız
SELECT ISNULL('Hello world', 'Bye'); //Hello world
SELECT ISNULL(NULL, 500); //500



Hiç yorum yok:

Yorum Gönder

Soft Delete

Giriş Açıklaması  şöyle When using the soft delete mechanism on the database, you might run into a situation where a record with a unique co...