RE: [Info-ingres] ABF - temp tables and exec sql connect question s...
- From: "Ball, David" <David.Ball@xxxxxxxxxx>
- Date: Wed, 14 Jun 2006 10:57:31 +0100
Hi Manny
The temp table is not destroyed, just that it's 'scope' is limited to the db
session in which it was created.
If you want to 'merge' data from 2 db sessions into one session table you
will have to store the data from the 2nd session in a program array or flat
file, then switch back to the 1st session to do the insert.
HTH
Dave
-----Original Message-----
From: Manny [mailto:mantas44@xxxxxxxxxxx]
Sent: 14 June 2006 10:44
To: info-ingres@xxxxxxxxxxxxxxx
Subject: [Info-ingres] ABF - temp tables and exec sql connect
questions...
Hello all,
I have created a frame in which I am using db1 and have declared a
temporary table SESSION.accounts.
I then connect to another another db (db2) using 'exec sql connect' in
order to retreive some data. I select the data successfully and then
attempt to load it into the temp table SESSION.accounts. But this
fails.
I am guessing that the temp table SESSION.accounts is destroyed as soon
as I connect to db2 - how can I get round this and retreive data from
db2 and use it in db1 in the frame.
Cheers,
Manny
_______________________________________________
Info-ingres mailing list
Info-ingres@xxxxxxxxxxxxxxx
http://mailman.cariboulake.com/mailman/listinfo.py/info-ingres
**********************************************************************
The information contained in this e-mail is confidential and intended only
for the use of the addressee. If the reader of this message is not the
addressee, you are hereby notified that you have received this e-mail in
error and you must not copy, disseminate, distribute, use or take any action
as a result of the information contained in it.
If you have any queries, please contact the IT Service Desk on 1870
(01384-275454).
postmaster@xxxxxxxxxx
**********************************************************************
**********************************************************************
This e-mail is provided for general information purposes only and does not constitute investment or transactional advice. For the avoidance of doubt the contents of this email are subject to contract and will not constitute a legally binding contract.
The information contained in this e-mail is confidential and intended only for the use of the addressee. If the reader of this message is not the addressee, you are hereby notified that you have received this e-mail in error and you must not copy, disseminate, distribute, use or take any action as a result of the information contained in it.
If you have received this e-mail in error, please notify postmaster@xxxxxxxxxx (UK 01384 275454) and delete it immediately from your system.
Neither Npower nor any of the other companies in the RWE Npower group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
Npower Limited Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3653277. This e-mail may be sent on behalf of a member of the RWE Npower group of companies.
**********************************************************************
.
- Prev by Date: ABF - temp tables and exec sql connect questions...
- Next by Date: Re: install ingres on Debian
- Previous by thread: ABF - temp tables and exec sql connect questions...
- Next by thread: RE: [Info-ingres] Problem query
- Index(es):
Relevant Pages
|