SQL WHERE List Matches Any or All

Posted by: HumanCompiler - Erik Porter (MS MVP) Blog, on 26 Mar 2007 | View original | Bookmarked: 0 time(s)

I saw a cool post recently from Jon Galloway called "Passing lists to SQL Server 2005 with XML Parameters".  This is a pattern I've used several times while building the new version of Channel 9.  If you'd like to learn how to pass in lists to stored procedures, check out Jon's post.One of the times I've used it is to search our database for all entries from two of our forums.  For this example, we'll say Techoff and Sandbox.  Once you have a...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 873 | Hits: 75

Similar Posts

  • Introducing Versatile DataSources more
  • Migrating to Postgresql with my friend NHibernate more
  • Principles, Patterns, and Practices of Mediocre Programming more
  • RadScheduler for Silverlight learning series, part 3: Add, Edit, and Delete Appointments more
  • SimplePatch My Patching Tool more
  • PDC 2009 Sessions Posted more
  • Chat room questions from the EF Tips & Tricks webcast more
  • LINQ Tip of the week: System.String support more
  • Linq to Mocks is finally born more
  • Linq For Silverlight Developers more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD