Home Forums SQL Server 7,2000 T-SQL Multiple if statements in a Stored Procedure RE: Multiple if statements in a Stored Procedure

  • >> In a stored procedure, I need to be able to run various sets of code based on whether variable1 is passed or variable2 is passed or variable3 is passed or if variable4 is passed (more than one variable will not be passed at one time.)

    Sounds to me like you should be looking at four different stored procedures...