Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 9C7ED475C06 for ; Mon, 8 Jul 2002 05:23:32 -0400 (EDT) Mailbox-Line: From datactrl@tpg.com.au Mon Jul 8 05:23:32 2002 Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by postgresql.org (Postfix) with ESMTP id C20AA475BF3 for ; Mon, 8 Jul 2002 05:11:43 -0400 (EDT) Received: from jac (bri3-56k-242.tpgi.com.au [202.7.184.242]) by mail1.tpgi.com.au (8.11.6/8.11.6) with SMTP id g689Bh728099 for ; Mon, 8 Jul 2002 19:11:44 +1000 Message-ID: <000201c2265f$793f85f0$1400a8c0@jac> From: "jack" To: Subject: Date: Mon, 8 Jul 2002 18:11:26 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=2.3 required=5.0 tests=FROM_NAME_NO_SPACES,SUBJ_MISSING,RCVD_IN_MULTIHOP_DSBL, X_RCVD_IN_UNCONFIRMED_DSBL,FUDGE_MULTIHOP_RELAY version=2.30 X-Spam-Level: ** X-Archive-Number: 200207/83 X-Sequence-Number: 8462 Hi, Regarding temp tables in the same connection session. If there is SQL procedure creating temp tables, process temp tables and drop all the temp tables finally. This SQL procedure can't run twice in the same session. Because all the temp tables are referred to the first physical temp tables. I posted this question couple months ago and the final reply is that in the future version, all the sql procedures, which use temp tables, will be forced to re-compile though it's been used in the session. Now, my question is, if it has been done, do I still need to drop all the temp tables before I re-run the same SQL procedure in the same session? Jack