Home   Fees/Services   Access Templates   Tutorials   Tutorial Downloads   Articles   Search   Contact  Privacy  Links
Not Function in SQL
Not Command Example
Home > Tutorials > Query Tutorials > Not In/Not Equal/Is Not Null
 






Query Tutorials Index:
Too Complex Query
Aggregate Query
Not In Operator
Choose Function
Crosstab Query
Date Time Query
SQL Delete Query
External Table Query
Report Filter Query
Group By Query
Having Query Clause
Histogram Query
Access Append Query
Master Detail Update
Order By Query
SQL Parameter Query
Predicate Query
Self Join Query
Scalar SubQuery
Master Detail Query
Select Query
Access SQL Select Top
SQL Union Query
SQL Update Query
Custom Query Function

 

MultiSelect Parameter Forms Access Tutorial


Not Operator Microsoft Access

The Not command is one of the most commonly used functions in SQL queries.



We have dozens of downloadable Access small business databases for you to learn and examine.

With our new partnership with Jay McCormick we have extensive programming support in SQL/Server database, MS Access software, Power BI applications, .Net web development, PHP, Excel & Outlook customization.


The Not function can be used anywhere you are using a comparison operator such as = (equals), < (less than), > (greater than), Exists, and the In operator.

The example below show a query in Microsoft Access employing the SQL Not operator.  There are three examples on the criteria line:

  • Not Null (is not null)

  • Not = (not equal)

  • Not In (Not Exist)

SQL Not

Here is the same query viewed in SQL View showing the Microsoft Access Not In Query:

SELECT performance_report.Category, performance_report.Date
FROM performance_report
WHERE (((performance_report.Category) Is Not Null) AND (Not (performance_report.Date)=#7/9/2007#) AND ((performance_report.Category) Not In (select category from google_urls)));

 

The SQL Not operator gives you the exact opposite set of results compared to using only the regular restriction operators (In, =, >, <. etc).

Setup your own test queries and see how easy it is to use the Not SQL operator.








A Blue Claw Software Design Template:

Contact Management Application
 









A Blue Claw Database Design Article:

Computer Disaster Recovery Planning
 









Blue Claw Database Design Downloadable Tutorial:
Choose Command Dynamic SQL Order By  








Microsoft Office:
MS Access 2000 Through Access 2016 & Office 365
 


Contact Information
Copyright 2000-2017 Blue Claw Database Design
Development in Microsoft Access, Microsoft SQL/Server and Azure

See our SQL/Server Development and Access Migration Tutorials