Naw...Paul is a Major NYC DBA...he
doesn't need *any* coddling whatsoever. 

He can parse his way out of any wet
paper bag......

-----Original Message-----
Sent: Friday, November 02, 2001 11:05 AM
To: Multiple recipients of list ORACLE-L


Go easy Ross....I'm a Developer too... ;o)

Be gentle with him..LOL

K.

-----Original Message-----
Sent: 02 November 2001 15:30
To: Multiple recipients of list ORACLE-L


Well, that's certainly productive!

hmmm.....so you're a DEVELOPER, eh?

hehhehheh

time for Plan B: make their life
hell until they relent and give you
some breathing room. As a Senior
DBA, you are perfectly placed to do
this!

<EG>



-----Original Message-----
Sent: Friday, November 02, 2001 9:55 AM
To: Multiple recipients of list ORACLE-L


Unfortunately, no.  I'm working on the application development side;
the "real" DBAs are in another department and the usual turf-protection
attitudes apply.

--- "Mohan, Ross" <[EMAIL PROTECTED]> wrote:
> don't suppose you can properly
> normalize the tables through
> materialized views and update
> the "pk" through that, eh?
> 
> -----Original Message-----
> Sent: Thursday, November 01, 2001 3:56 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> Given a business rule that says a combination of three columns must
> be
> unique if and only if a fourth column equals a certain value, and if
> the table in question contains rows that violate this requirement,
> I'm
> trying to write a single SQL statement that will remove the
> duplicates.
>  Of each set of duplicate rows, I'll delete the one with the latest
> insert timestamp.  
> 
> Let's call the columns
> 
> a  b  c  d  timestamp
> 
> The combination of b, c, and d must be unique if a = 2.  
> 
> I can get the duplicate row values along with the latest timestamp
> via
> 
> select max(tstamp), a, b, c from
> my_table group by a, b, c having count(*) > 1
> 
> But I can't figure out how to use that in a delete statement.
> 
> Suggestions greatly appreciated!
> 
> 
> Paul Baumgartel
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Paul Baumgartel
>   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: Mohan, Ross
>   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).


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  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: Mohan, Ross
  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: Thomas, Kevin
  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: Mohan, Ross
  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).

Reply via email to