Forum Replies Created

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

  • RE: Dynamic query

    Scorpion_66,

    Great idea !!!

    Thank you very much...

    I got it I have done similar stuff before, but never thought of it in this case.

    Thanks again!!!!!!

    Hendrix

    quote:


  • RE: Dynamic query

    Is there anything like?

    @Result = EXEC sp_executesql @query

    FETCH @Result

    what I mean by that is that it will be cool if for example the "sp_executesql" instead of returning 1 or 0...

  • RE: Dynamic query

    Remember we cannot create table inside a trigger on SQL 7 🙁 I do the same thing on other scenarios.

    quote:


    I meant something...

  • RE: Dynamic query

    The client is using SQL 7, not support for UDF. I couldn't understand what you mean by

    INSERT #temp_table ( <column list> )

    sp_executesql @query

    quote:


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