SQL Notes
Table of Contents
1. SQL Examples
1.1. Stored Procedures
1.1.1. Dynamic Where Clause
WHERE 1 = 1
AND (@what IS NULL OR [companies_SimpleList].[Description] Like @What )
AND (@keywords IS NULL OR companies_SimpleList.Keywords Like @Keywords)
AND (@where IS NULL OR companies_SimpleList.FullAdress Like @Where)
|
The |