Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by grahambo

  1. grahambo

    WildCard Entries for SP parameter

    I've used this technique in where clauses before - I'm not sure if it'll work in a having clause or not, but you might try it: HAVING (@CompanyID IS NULL OR (SubUtilCurrent.ClientID = @CompanyID)) AND (@VendorID IS NULL OR (SubUtilCurrent.VendorID = @VendorID)) AND (@SiteID IS NULL...

Part and Inventory Search

Back
Top