Code to create a working version of this technique…


So here’s the implementation for part 2 in a web project. There are a few caveats to this thing. First off, for demonstration purposes only m-kay? Don’t go trying to put something like this into your production environment, please. Second, it does not have a great deal of logic as far as randomization goes for search results, so I’ll leave some of that fun for you to work on. (And when you come up with something cool, please forward to me so I can check it out). Finally, it dumps all results that match at least 33% to the data grid, something that you would probably not do in your search. Anyway, download the zip file which includes the project, below, and get the TVF from the link below. There is a Readme.txt located in the project. As always, RTFM, please.

If you need any assistance putting this together, give me a shout.

Lee

------------------------------------------


Whassat you say? Bitmasking, part 3? Look for it to come out around 2012.

 


Table-valued function
-
http://www.sqlservercentral.com/articles/bitmasking/66774

c# web projectASP.NET Web in c#






Posted in:   Tags:
blog comments powered by Disqus

by Lee Everest, M.S.

Poll

Do you use Azure or cloud in your organization?



Show Results

Ads

Search


Month List

Calendar

«  February 2012  »
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011
View posts in large calendar

Tags

Disclaimer
The opinions, code, examples, et.al. expressed herein are my own personal opinions and do not represent my employer's view in any way, shape form, or fashion.  All code for demonstration purposes - no guarantees, either written or implied, are made.

© Copyright 2012 Lee Everest's SQL Server, etc. weblog