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 -> Declare Global Variables

Declare Global Variables

From: Steven Pannell <steven.pannell_at_gmx.net>
Date: Tue, 7 Aug 2001 15:19:19 +0200
Message-ID: <9kopsn$5kote$1@ID-82797.news.dfncis.de>

Hi everyone,

I am wondering if it is possible to define a global varaible such that is it available in all functions and can be used in my SQL statements. For example I would like to do this:

CONSTANT monday = 1;

The run a select statement as:

SELECT * FROM myTable WHERE dayfield = monday

is this at all possible?

Thanks in advance,
Steve Received on Tue Aug 07 2001 - 08:19:19 CDT

Original text of this message

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