SQL wildcard characters in LIKE

The various types of wildcard characters that can be used within the LIKE clause are as follows:

% -> A substitute for zero or more characters e.g. '%S%'

_ - > A substitute for a single character e.g. 'L_n_on'

[chars] -> Sets and ranges of characters to match e.g. [A-z] or [a,b,c]

[!chars] or [^chars] -> Matches only a character NOT specified within the brackets e.g. [!a,b,c]

Comments

Popular posts from this blog

jQuery Basics

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application