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

Home -> Community -> Usenet -> c.d.o.server -> "SELECT" output into a variable.

"SELECT" output into a variable.

From: Andres de Zordo <andres_at_crcs.tensor.pgs.com>
Date: 1998/03/26
Message-ID: <351A5ACF.1DAE@crcs.tensor.pgs.com>#1/1

People,

        Does any one knows how can I set the value of a variable from the output of a SELECT statment in SQLPLUS?

        What I need is some thing like this:

define VARIABLE=(select SUM(width) from col where tname = 'TABLE_NAME') set line &VARIABLE

        Thanks. Received on Thu Mar 26 1998 - 00:00:00 CST

Original text of this message

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