• Wilfred,

    I get the following message on the select statement when I inserted

    set @SearchCriteria = '%MEAG_MASTER%' and executed the script.

    Any suggestions?

    Msg 170, Level 15, State 1, Line 5

    Line 5: Incorrect syntax near '?'.

    Line 5 is the select.