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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Dynamic Column Aliases

Re: Dynamic Column Aliases

From: Mike Davis <cszymans_at_dgroovy.com>
Date: Fri, 28 Jan 2005 22:06:33 -0500
Message-ID: <Pine.GSO.4.58.0501282112230.11800@cpu04.student.cs.uwaterloo.ca>


On Fri, 28 Jan 2005, DA Morgan wrote:

> Mike Davis wrote:
>
> > Is it possible to have dynamically aliased columns in a select
> > statement without using dynamic sql?
> >
> > I'm wondering if there is a way to do something like the following:
> >
> >
> > SELECT <fieldname> AS <package_name>.<constant> FROM <table>
> >
> > Thanks in advance.
> >
> > --Mike
>
> If you concatenate strings together what would stop you?

Nothing. However, my question was if there was away to do it without dynamic sql. I would really like to avoid the overhead of parsing, execution path optimization, etc. at runtime.

--Mike Received on Fri Jan 28 2005 - 21:06:33 CST

Original text of this message

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