Unix Technical Forum

creating global temporary tables

This is a discussion on creating global temporary tables within the Informix forums, part of the Database Server Software category; --> Can you please advice on how to create global temporary tables in informix 9.1, so that it can be ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 10:28 AM
Rishi
 
Posts: n/a
Default creating global temporary tables

Can you please advice on how to create global temporary tables in
informix 9.1, so that it can be accessed across procedures?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 10:28 AM
Jonathan Leffler
 
Posts: n/a
Default Re: creating global temporary tables

Rishi wrote:
> Can you please advice on how to create global temporary tables in
> informix 9.1, so that it can be accessed across procedures?


You should have abandoned IDS 9.1x prior to 2000-01-01.

What do you mean by 'across procedures'?

Did you read the SQL manual on CREATE TABLE - the section on CREATE TEMP
TABLE?

The name 'global temporary table' is SQL standard speak and doesn't have
a direct counter-part in IDS. IDS temporary tables have to be created
in each session that needs them, but they are global in each session.

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 10:28 AM
Superboer
 
Posts: n/a
Default Re: creating global temporary tables

may be you want to have a look at
create raw table myraw ( a int )
so raw tables; they are not logged. check the manual for it.
it may do what you require.

Superboer.



Jonathan Leffler schreef:

> Rishi wrote:
> > Can you please advice on how to create global temporary tables in
> > informix 9.1, so that it can be accessed across procedures?

>
> You should have abandoned IDS 9.1x prior to 2000-01-01.
>
> What do you mean by 'across procedures'?
>
> Did you read the SQL manual on CREATE TABLE - the section on CREATE TEMP
> TABLE?
>
> The name 'global temporary table' is SQL standard speak and doesn't have
> a direct counter-part in IDS. IDS temporary tables have to be created
> in each session that needs them, but they are global in each session.
>
> --
> Jonathan Leffler #include <disclaimer.h>
> Email: jleffler@earthlink.net, jleffler@us.ibm.com
> Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com