Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL statement works with SQL/Plus - but not with ODBC

Re: SQL statement works with SQL/Plus - but not with ODBC

From: Christian Weyer <christian.weyer_at_eyesoft.de>
Date: Wed, 11 Apr 2001 08:57:14 +0200
Message-ID: <3AD4004A.3B579AF4@eyesoft.de>

Hi,

> You didn't mention the version of Oracle.
> The syntax is legal in Oracle8i, not prior to Oracle8i.

I am using Oracle 8i (8.1.6).

> You may change as following:
>
> UPDATE ... SET ...
> VERSION_NUMBER = (SELECT 1+MAX(VERSION) ... ) ...
>
> It does not need to be put into a PL/SQL block, remove the BEGIN/END.

Well I tried it even without the BEGIN ... END block ... noop :-(

Regards,
Christian

-- 
___________________________________________________
eYesoft                        We see your visions.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Christian Weyer               http://www.eyesoft.de

christian.weyer_at_eyesoft.de    Bernhard-Krieg-Str. 4
Tel.: +49-9393-993161         97845 Neustadt/Main
___________________________________________________
       Building Smart Internet Architectures       
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Received on Wed Apr 11 2001 - 01:57:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US