Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Pivot table for Microsoft SQL Server

    You got my Excellent! I've seen quite a few procedures, but I really appreciate your methodology: you paved a complete road from the ground up with concise and adequate explanations....
  • RE: How to declare parameters for a stored procedure.

    You might try this:
     
    WHERE   salesdate BETWEEN CONVERT(DATETIME, @p_fromsalesdate) and CONVERT(DATETIME, @p_tosalesdate)

                and (@p_sitecode is null or siteglobalcode = @p_sitecode)  

Viewing 2 posts - 1 through 2 (of 2 total)