Forum Replies Created

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

  • RE: SQL Like Clause

    Mark Fitzgerald-331224 (3/12/2012)


    I think that you may be looking to include the % as a search term as in the demo below. If this is the case use the...

  • RE: SQL Like Clause

    ColdCoffee (3/12/2012)


    Bro, when u see a empty string in the Frist Name text box (or wherever the value for @FirstName comes from) , handle it. Tell the user that it...

  • RE: SQL Like Clause

    seth delconte (3/12/2012)


    marly (3/12/2012)


    I changed it to

    SELECT * from dbo.mytable WHERE FirstName LIKE ‘%’ + REPLACE(@FirstName , ‘%’,’’) + ‘%’ but it still seems to put down the whole database...

  • RE: SQL Like Clause

    I changed it to

    SELECT * from dbo.mytable WHERE FirstName LIKE ‘%’ + REPLACE(@FirstName , ‘%’,’’) + ‘%’ but it still seems to put down the whole database if I do...

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