Click here to Skip to main content
15,892,199 members
Articles / Programming Languages / C++

SQL Server Style Wildcard Matching

Rate me:
Please Sign up or sign in to vote.
4.20/5 (4 votes)
17 Jun 2010CPOL4 min read 30.2K   123   22  
Match SQL Server style wildcards in client code
// Written by Ben Hanson for TFB Plc 2009.
// (C) 2009 TFB Plc
// Released under the Code Project licence:
// http://www.codeproject.com/info/cpol10.aspx
#ifndef TFB_WILDCARD_CONSTS_H
#define TFB_WILDCARD_CONSTS_H

#include "size_t.hpp"
#include <wchar.h>

namespace tfb
{
namespace wc
{
	const std::size_t num_chars = 256;
	const std::size_t num_wchar_ts = WCHAR_MAX < 0x110000 ?
		WCHAR_MAX : 0x110000;
}
}

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) TFB Plc
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Organisation

1 members

Comments and Discussions