November 20, 2001 09:20 PM

Tip: "Permanent" Temporary Tables

Rating: (0)
SQL Server Magazine
InstantDoc ID #23015
On the SQL Server Most Valuable Professional (MVP) newsgroup, a private forum available to SQL Server MVPs, a recent thread raised an interesting question about the life expectancy of global temporary tables. Suppose you have a stored procedure that you mark as autoexecution by using sp_procoption so that the procedure will automatically execute each time SQL Server starts. You use the marked stored procedure to create a global temporary table in SQL Server 2000. One of the SQL Server MVPs wondered whether such a table would exist for as long as the SQL Server 2000 instance runs.

Add a Comment

There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here