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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lithuin

    Complex Stored Procedure with multiple conditionals

    I just wanted to thank all three of you again for your help. With a little tweaking, your solutions worked like a charm. Thanks again!
  2. lithuin

    Complex Stored Procedure with multiple conditionals

    Oops, ignore the part about your "first reply." I just realized you are multiple people. :)
  3. lithuin

    Complex Stored Procedure with multiple conditionals

    I think that's what I need, I'd just like to ask a couple questions to understand this a bit better. Even if productfinish is declared as a char(1), "2345 LIKE %5%" would evaluate to true (ignoring the cast for simplicity)? Likewise, "2345 LIKE %3%" would also be true? For some dumb reason...
  4. lithuin

    Complex Stored Procedure with multiple conditionals

    Thanks, that first part is perfect. Exactly what I was looking for. My goal is really to pass @parmFinish in as a string, and then iterate through it, pulling out each character and using it as its own parameter. I would pass them in as individual variables, but there could be three finishes...
  5. lithuin

    Complex Stored Procedure with multiple conditionals

    Just to clarify, all I really need to know how to do is the following, but my syntax is just all screwy. Select itemNumber from itemMaster where if @parmGroup <> "N" (N = none specified ie all) begin itemMaster.Group = @parmGroup if @parmCategory <> "N" begin AND...
  6. lithuin

    Complex Stored Procedure with multiple conditionals

    Hello, I've got a MS SQL procdure to write that i sa bit above my head. Any help would be greatly appreciated. I am working on this for a web site I'm building, and the DB guy at the company I'm working for works mostly in RPG, so it's up to me. I'm really only working with one table in this...

Part and Inventory Search

Back
Top