Dynamic SQL > 8000 characters

  • Hi all,

    Is there any way to execute a dynamic sql statement > 8000 chars in SQL Server 2000.

    I am building the sql command based on the rows of a table.

    Any help would be appreciated.

    Thanks,

    Shalin

  • EXEC (@SQL1 + @SQL2 + SQL3 + ...)

    _____________
    Code for TallyGenerator

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

You must be logged in to reply to this topic. Login to reply