Forum Replies Created

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

  • RE: Making Dynamic Queries Static

    Sorry, I should use this instead of my last post:

    CREATE PROCEDURE sp_MySearch

    @p1 varchar(50),

    @p2 varchar(50)

    As

    select...

  • RE: Making Dynamic Queries Static

    Hi, I think

    ColumnOne = insnull(@pSearchArg, ColumnOne)

    whill not work, because null value in ColumnOne will fail this expression.

    I'd like to use something like the following...

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