I am writing a query in Access, where I need to get all the records, where a certain column is empty, how can I do this?
This is what I think should be, but it does not work.
SELECT * FROM TABLE WHERE PARTICULARCOLUMN = ''
This will handle both empty rows ('') and NULL values ββin the column.
SELECT * FROM TABLE WHERE Nz(PARTICULARFIELD,'') = ''
Try ...
WHERE PARTICULARFIELD Is Null
An example from the Internet:
SELECT [Table1].[CustomerID], [Table2].[CustomerID] FROM [Table1] LEFT JOIN [Table2] ON [Table1].[CustomerID] = [Table2].[CustomerID] WHERE ((([Table 2].[CustomerID]) Is Null));
See: http://www.fabalou.com/access/Queries/isnullquery.asp
Source: https://habr.com/ru/post/1342025/More articles:How to save settings that are encrypted? - securitySpring Jsps and Anchor Jumps - springKilling users as an administrator in Devise - ruby-on-railsImage display using OpenCV 2.2 on Linux Ubuntu platform with Qt - c ++How to set up mysql session at a specific time zone? - mysqlSet Timeout SOAP Client (Zend Framework) - soapIs there a replacement or update for WmiSet for post-Delphi 2007? - delphiWill the compiler combine classes that are identical in structure? - c ++Remote debugger for iOS? I need to debug an accessory - ioshow to work with modelform and multiwidget - djangoAll Articles