Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Why Not Allow Temp Tables?

Re: Why Not Allow Temp Tables?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Wed, 24 Sep 2003 07:13:52 -0700
Message-ID: <1064412826.897387@yasure>


Ryan Gaffuri wrote:

>"Niall Litchfield" <n-litchfield_at_audit-commission.gov.uk> wrote in message news:<3f7177e2$0$15785$ed9e5944_at_reading.news.pipex.net>...
>
>
>>"(Pete Cresswell)" <x_at_y.z> wrote in message
>>news:7dvumv0n9nef438hgrfc1fea9c8ejf1sah_at_4ax.com...
>>
>>
>>>RE/
>>>
>>>
>>>>Personally, I think you are going to find that the person who wants temp
>>>>tables probably is from a non-Oracle background (eg Sybase or SQLServer)
>>>>where they are used all the time for a variety of reasons.
>>>>
>>>>
>>>Bingo!.... SQL Server...
>>>-----------------------
>>>PeteCresswell
>>>
>>>
>>I'd expect in a lot of cases you won't even need a GTT. In MSSQL you might
>>well wish temp tables to avoid locking issues, in Oracle you won't get those
>>locking issues.
>>
>>
>
>i hear about temp tables in sql server all the time. are they
>implemented like global temp tables in oracle? im not familiar with
>the sql server architecture.
>
>

SQL Server doesn't have temp tables. It has heap tables people use for temporary storage to get around
the lack of locks and the fact that writes block reads and reads block writes.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Sep 24 2003 - 09:13:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US