pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Subject: Bad rowtype on PL/SQL Oracle -- does anyone know?
Date: Fri, 23 May 2003 11:15:47 -0700
Message-ID: <200305231115.47324.josh@agliodbs.com> (raw)

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




Message-ID: <200305231115.47324.josh@agliodbs.com>
Permalink:  ../200305231115.47324.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200305231115.47324.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: Bad rowtype on PL/SQL Oracle -- does anyone know?
  In-Reply-To: <200305231115.47324.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox