Dave,
What would probably be a much better solution is:
select <column_name1>, <column_name2>, etc...
from <tablename>
group by <column_name1>, <column_name2>, etc...
I've a funny feeling that blob/clob's can't be included in the group by clause
so they'll have to specify the column names. Other wise do a parent/child table
relation and have the blob/clob in the child table.
Dick Goulet
____________________Reply Separator____________________
Author: Dave Morgan <[EMAIL PROTECTED]>
Date: 3/27/2001 6:31 AM
Hi All,
I have been involved with a perl/DBI trouble
ticketing system called Request Tracker. I have done a small
piece of the work required to port the system to Oracle.
The creators are almost finished but with my new
job I cannot devote the time necessary now that
they are pushing to a beta release.
Jesse needs Oracle testers and both Oracle and perl
assistance.
The current problem is the use of "DISTINCT" in a
select clause from a table that has BLOB/CLOB etc
columns.
This is an industrial strength web and email ticketing
system ala Remedy, but it is under an open source license.
http://www.fsck.com/projects/rt/
mailto:[EMAIL PROTECTED]
TIA
Dave
Tobias Brox wrote:
>
> > Anyone have a helpful
> > suggestion for how to make oracle happy with this:
> >
> > SELECT DISTINCT * from Tablename;
> >
> > Thanks,
> > Jesse
>
> I've never tried Oracle, but I'd suggest trying this:
>
> SELECT UNIQUE(*) from Tablename;
>
> _______________________________________________
> Rt-devel mailing list
> [EMAIL PROTECTED]
> http://lists.fsck.com/mailman/listinfo/rt-devel
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Dave Morgan
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).