Donate

How To Check Nulls In MySQL Database Table

Assuming QuantityPerUnit is the field to be tested.
-- return products with no null values  
select * from products where QuantityPerUnit is not null;  
-- return products with null values  
select * from products where isnull(QuantityPerUnit);

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

Remove Cookies From CookieContainer Class

How To Test Or Check Dead Pixels And Backlight Bleed On Your Monitor Using Dead Pixel Checker In Windows 11