Can using too many table variables cause problems?

  • We have just upgraded all our production servers to SQL Server 2000 and are trying to find ways to make our SP's faster.

    One option will be to replace all our temp tables with table variables. My concern is that using table variables too much could use up all our memory and thus cause problems. Have any of you had any problems with memory and table variables?

    Robert Marda

    SQL Server will deliver its data any way you want it

    when you give your SQL Programmer enough developing time.

    Robert W. Marda
    Billing and OSS Specialist - SQL Programmer
    MCL Systems

  • We left the temp tables we had in place. No reason to fix something not broken. If/when I have a performance issue I always keep the table type option open. Better to have extra horsepower and not worry about it.

    Andy

    http://www.sqlservercentral.com/columnists/awarren/

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

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