pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
What is the scope of a temp table?
3+ messages / 2 participants
[nested] [flat]

* What is the scope of a temp table?
@ 2003-04-15 18:38 Guy Fraser <guy@incentre.net>
  2003-04-16 05:21 ` Re: What is the scope of a temp table? A.Bhuvaneswaran <bhuvansql@myrealbox.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Guy Fraser @ 2003-04-15 18:38 UTC (permalink / raw)
  To: pgsql-sql

I have never created a "temp table" before, because I was not sure when 
the table was available and if or when it would be automaticly dropped.

Could someone let me know becuase I could probaly use them in data 
massaging routines.

Guy




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: What is the scope of a temp table?
  2003-04-15 18:38 What is the scope of a temp table? Guy Fraser <guy@incentre.net>
@ 2003-04-16 05:21 ` A.Bhuvaneswaran <bhuvansql@myrealbox.com>
  2003-04-17 15:18   ` Re: What is the scope of a temp table? Guy Fraser <guy@incentre.net>
  0 siblings, 1 reply; 3+ messages in thread

From: A.Bhuvaneswaran @ 2003-04-16 05:21 UTC (permalink / raw)
  To: Guy Fraser <guy@incentre.net>; +Cc: pgsql-sql

> I have never created a "temp table" before, because I was not sure when 
> the table was available and if or when it would be automaticly dropped.
> 
> Could someone let me know becuase I could probaly use them in data 
> massaging routines.

Temp tables are alive in the current session only. Once the session is
closed, the temp tables created in that session are dropped.

regards,
bhuvaneswaran




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: What is the scope of a temp table?
  2003-04-15 18:38 What is the scope of a temp table? Guy Fraser <guy@incentre.net>
  2003-04-16 05:21 ` Re: What is the scope of a temp table? A.Bhuvaneswaran <bhuvansql@myrealbox.com>
@ 2003-04-17 15:18   ` Guy Fraser <guy@incentre.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Guy Fraser @ 2003-04-17 15:18 UTC (permalink / raw)
  To: pgsql-sql

Thank you.

That is what I wanted to know.

Guy

A.Bhuvaneswaran wrote:

>>I have never created a "temp table" before, because I was not sure when 
>>the table was available and if or when it would be automaticly dropped.
>>
>>Could someone let me know becuase I could probaly use them in data 
>>massaging routines.
>>    
>>
>
>Temp tables are alive in the current session only. Once the session is
>closed, the temp tables created in that session are dropped.
>
>regards,
>bhuvaneswaran
>  
>
...snip...




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-04-17 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-15 18:38 What is the scope of a temp table? Guy Fraser <guy@incentre.net>
2003-04-16 05:21 ` A.Bhuvaneswaran <bhuvansql@myrealbox.com>
2003-04-17 15:18   ` Guy Fraser <guy@incentre.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox