Bad rowtype on PL/SQL Oracle -- does anyone know?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Bad rowtype on PL/SQL Oracle -- does anyone know?
Date: 2003-05-23 18:15:47
Message-ID: 200305231115.47324.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Folks,

We need some help from an active Oracle PL/SQL programmer.

What would Oracle PL/SQL do in this case:

DECLARE some_rec some_table%ROWTYPE

SELECT a, b --but not c, d
FROM some_table INTO some_rec
WHERE a = x;

We're trying to determine what PL/pgSQL should do if given a select statement
which does not match the declared %ROWTYPE, and were wondering what PL/SQL
does. My PL/SQL manual does not make it clear, and I don't have a running
8i to test on.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-05-23 18:29:44 Re: Inquiry From Form [pgsql]
Previous Message Jan Wieck 2003-05-23 18:09:45 Re: Can arrays reference primary keys in CREATE TABLE?