Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g1I96q218086
 for <oracle-l@naude.co.za>; Mon, 18 Feb 2002 04:06:52 -0500
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id BAA54047;
 Mon, 18 Feb 2002 01:09:14 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b70/bab) via UUCP id 004120F5; Mon, 18 Feb 2002 00:43:21 -0800
Message-ID: <F001.004120F5.20020218004321@fatcity.com>
Date: Mon, 18 Feb 2002 00:43:21 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?= <adary@mehish.co.il>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?= <adary@mehish.co.il>
Subject: RE: help needed 
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 70; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

As simple as:

select * from
(select 'ptMASTER' , 'Master' col2 from dual
 union 
 select 'ptMKT' , 'Market' from dual
 union 
 select 'ptOFFICE' , 'Office' from dual)



Yechiel Adar, Mehish Computer Services
adary@mehish.co.il

> -----Original Message-----
> From:	Shishir [SMTP:shishir@agnisoft.com]
> Sent:	Mon, February 18, 2002 9:23 AM
> To:	Multiple recipients of list ORACLE-L
> Subject:	help needed 
> 
> Hi folks ! 
>   I have some constants value   i want to show then in tabular format with
> two cloumns and n rows 
>   is it possible to get them through in that way by manipulating SQL
> statements i dont want to define user defined data type
>  i want the sql to be written in way that it ud give me result like :
>    col1             col2
>   'ptMASTER'  'Master',
>   'ptMKT'         'Market', 
>   'ptOFFICE'    'Office',
>   'ptPDCR'       'Producer', 
>   'ptQUOTE'     'Quote', 
>   'ptREGL'       'Regulator', 
>   'ptROLE'       'Role',
> 
> these are  constant values and not stored in database at all .I ud
> appreciate any help from u gurus.
>  
> thanx in advance....
> Shishir Kumar Mishra
> Agni Software (P) Ltd.,
> Bangalore-560055, India
> www.agnisoft.com <http://www.agnisoft.com>
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  This e-mail was scanned by the eSafe Mail Gateway 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
  INET: adary@mehish.co.il

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

