🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.databases
Article #1

Update on ORACLE-DB with subselect

#1
From: Carsten
Date: Wed, 03 Nov 2004 10:51
20 lines
1282 bytes
Hi,
I'm desparate on finding a way to execute a statement like:

-------- snip --------
UPDATE ":ORA_CONNECT:ORA_TABLE" ot
SET ot.col = 'something'
WHERE ot.onecol = 42
AND   ot.othercol IN (
  select col from ":BDE_DB:BDE_TABLE" WHERE something is true
);
-------- snap --------

The statement is working without "AND   ot.othercol IN (...".
Subselect itself is working too.
Oracle is 9.2.

Any ideas?
Please help

Carsten
Technical Details
Message-ID: <46882b71.0411030251.2786e22c@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ffff5,b9db18f969f729c6,start
X-Google-Thread: 10034a,b9db18f969f729c6,start
X-Google-Attributes: gidffff5,gid10034a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews1.google.com!not-for-mail
From: carsten.kerkhoff@web.de (Carsten)
Newsgroups: comp.lang.pascal.delphi.databases,borland.public.bde
Subject: Update on ORACLE-DB with subselect
Date: 3 Nov 2004 02:51:55 -0800
Organization: http://groups.google.com
Lines: 20
Message-ID: <46882b71.0411030251.2786e22c@posting.google.com>
NNTP-Posting-Host: 192.76.140.113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1099479116 3507 127.0.0.1 (3 Nov 2004 10:51:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 3 Nov 2004 10:51:56 +0000 (UTC)