Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Hot Topic (More than 35 Replies) Heh, took them long enough (Read 18473 times)
TractorsareEpic
Titan Demolisher
****
Offline


I Love Drama!

Posts: 381
Joined: Apr 26th, 2013
Heh, took them long enough
Oct 7th, 2013 at 9:04pm
Print Post  
https://www.ddo.com/forums/showthread.php/427431-Shard-Exchange-Temporarily-Unav...

The Shard Exchange is temporarily unavailable. We apologize for the inconvenience.

Please note that we continue our research on accounts who have participated in item duplication, and will continue taking action against additional accounts accordingly as our research completes. Thanks for your cooperation while we conduct the investigations.
  
Back to top
 
IP Logged
 
Slug
Shroud Slacker
***
Offline



Posts: 1061
Joined: Feb 19th, 2012
Gender: Male
Re: Heh, took them long enough
Reply #1 - Oct 7th, 2013 at 9:15pm
Print Post  
It has begun...
  
Back to top
 
IP Logged
 
rest
One Man Wolfpack
*
Offline



Posts: 7223
Joined: Aug 13th, 2010
Gender: Male
Re: Heh, took them long enough
Reply #2 - Oct 7th, 2013 at 9:17pm
Print Post  
Whoopsie
  
Back to top
 
IP Logged
 
deftest
Titan Demolisher
****
Offline


I Love Drama!

Posts: 314
Joined: Jul 13th, 2011
Re: Heh, took them long enough
Reply #3 - Oct 7th, 2013 at 9:46pm
Print Post  

Ruh Roh Raggy


  
Back to top
 
IP Logged
 
Slug
Shroud Slacker
***
Offline



Posts: 1061
Joined: Feb 19th, 2012
Gender: Male
Re: Heh, took them long enough
Reply #4 - Oct 7th, 2013 at 9:46pm
Print Post  
R.I.P. Clone-a-thon
  
Back to top
 
IP Logged
 
arjiwan
Titan Demolisher
****
Offline


I Love Comedy!

Posts: 320
Joined: Nov 17th, 2011
Re: Heh, took them long enough
Reply #5 - Oct 7th, 2013 at 9:51pm
Print Post  
I am really genuinely sad, that  this event did not even made me log in.
  
Back to top
 
IP Logged
 
pape
Dragon Raider
***
Offline



Posts: 227
Joined: Oct 30th, 2010
Re: Heh, took them long enough
Reply #6 - Oct 7th, 2013 at 10:57pm
Print Post  
im really sad I didn't know about it until it hit the launcher.
  
Back to top
 
IP Logged
 
Rubbinns
The Undeserving Fuckwit
*
Offline


I Love Drama!

Posts: 10460
Joined: Sep 4th, 2013
Re: Heh, took them long enough
Reply #7 - Oct 8th, 2013 at 12:19am
Print Post  
Meh 3-14 day bans. See you guys in week or so, like shit never even happened.
  

Mockduck wrote on Aug 30th, 2010 at 2:20pm:
I don't think naming names would be a good thing for me to do, but I'd pretty much add anyone who's a know-it-all dick on the list.� Even if they are sometimes intelligent with their opinions, the way they state them in long, "i'm a lawyer at trial"-type posts makes me want to punch them in the face.� They act like whiney babies with god complexes and then freak out if someone so much as breathes criticism in their direction.
Back to top
 
IP Logged
 
Alex DeLarge
Epic Poster
*****
Offline


Get ready for some of
the 'ol in-out, in-out

Posts: 3481
Location: Foggy Albion
Joined: May 11th, 2013
Gender: Male
Re: Heh, took them long enough
Reply #8 - Oct 8th, 2013 at 12:37am
Print Post  
Rubbinns wrote on Oct 8th, 2013 at 12:19am:
Meh 3-14 day bans. See you guys in week or so, like shit never even happened.


I guess the important question would be when will they fix the actual bug? xD
  

Back to top
 
IP Logged
 
pnellesen
Titan Demolisher
****
Offline


We can't all just get
along.

Posts: 311
Joined: Dec 6th, 2011
Re: Heh, took them long enough
Reply #9 - Oct 8th, 2013 at 1:05am
Print Post  
pape wrote on Oct 7th, 2013 at 10:57pm:
im really sad I didn't know about it until it hit the launcher.


I'm really sad I didn't manage to snag a couple more Mabar signets before it shut down after the preview...
  
Back to top
 
IP Logged
 
Distributed
Abbot Raider
**
Offline



Posts: 855
Joined: Oct 4th, 2013
Gender: Male
Re: Heh, took them long enough
Reply #10 - Oct 8th, 2013 at 1:48am
Print Post  
They waited on purpose. It's how they're going to fix the Mabar lag.

The more players they ban, the less lag there will be. Brilliant!
  
Back to top
 
IP Logged
 
Rubbinns
The Undeserving Fuckwit
*
Offline


I Love Drama!

Posts: 10460
Joined: Sep 4th, 2013
Clonetoberfest 2013
Reply #11 - Oct 8th, 2013 at 2:24am
Print Post  
Distributed wrote on Oct 8th, 2013 at 1:48am:
They waited on purpose. It's how they're going to fix the Mabar lag.

The more players they ban, the less lag there will be. Brilliant!

Almost.
But not quite. You see.. They did want this. They started it on their own server long ago. 

Only the forums knew at least thelast 4 days of cubing thier own forum threads on the topic of clonetoberfest. And it was cubed as early as U19.

Tin foil conspiracy hat time bitches!

What the devs wanted is to devalue plat as a currency to further cement AS as the favored, and more safer/stable form.
This also served to lower the amount of AS in circulation making them even more valuable. EE gear will be more valued. Selling more of the new xpack as it holds the loot.

Why would they still allow this to go on while saying they are looking into it?

They wont hit everyone. Just large transactions to vendors for plat, items, player2player trades, AS/ASAH transactions and if suspected then inventory, bank tr cache, guild chest for large caches of rare items.

It's like Turbine just invented, and started their own version of the War on Drugs.
« Last Edit: Oct 8th, 2013 at 3:11am by Rubbinns »  

Mockduck wrote on Aug 30th, 2010 at 2:20pm:
I don't think naming names would be a good thing for me to do, but I'd pretty much add anyone who's a know-it-all dick on the list.� Even if they are sometimes intelligent with their opinions, the way they state them in long, "i'm a lawyer at trial"-type posts makes me want to punch them in the face.� They act like whiney babies with god complexes and then freak out if someone so much as breathes criticism in their direction.
Back to top
 
IP Logged
 
bob the builder
Abbot Raider
**
Offline


I Love Drama!

Posts: 772
Joined: Apr 19th, 2011
Re: Heh, took them long enough
Reply #12 - Oct 8th, 2013 at 8:12am
Print Post  
they close the shard house, and tell us they are spending Dev time investigating the people who are using the exploit (and trust me, it is developer time... they don't just have people good enough with SQL that can do this that aren't the actual programmers for the game), instead of just fixing the damn bug.

Essentially it is worse than the war on drugs... it is equivalent to people being able to get free drugs directly from the government and the government, instead of stopping the ability to get the free drugs decides to spend all their resources hunting down the people getting the free drugs when they could spend 2 minutes to just turn off the spigot.
  
Back to top
 
IP Logged
 
Flav
Vault Frog
*
Offline


One Frog to Rule them
All!

Posts: 9984
Location: Land of the Frogs
Joined: Aug 29th, 2010
Gender: Male
Re: Heh, took them long enough
Reply #13 - Oct 8th, 2013 at 9:36am
Print Post  
If it's doing SQL querries, I can help...


Quote:
select sdp_BT2..appl200_abonne.anr,sdp_BT2..appl201_list_abonne.prof_id,sdp_BT2..appl20
1_list_abonne.prefix from sdp_BT2..appl200_abonne,sdp_BT2..appl201_list_abonne where sdp_BT2..appl201_list_abonne.prof_id in (select sdp_BT2..appl200_abonne.abonne_id from sdp_BT2..appl200_abonne where sdp_BT2..appl200_abonne.anr not in (select sdp_BT..appl200_abonne.anr from sdp_BT..appl200_abonne)) and sdp_BT2..appl200_abonne.abonne_id in (select sdp_BT2..appl200_abonne.abonne_id from sdp_BT2..appl200_abonne where sdp_BT2..appl200_abonne.anr not in (select sdp_BT..appl200_abonne.anr from sdp_BT..appl200_abonne)) order by sdp_BT2..appl200_abonne.anr


No I won't tell what it does... but I had to create that query a few years ago.
« Last Edit: Oct 8th, 2013 at 9:37am by Flav »  

Yes my avatar is an Hermine eating a Greenland Lemming for brunch.
Back to top
 
IP Logged
 
Luxgolg
Shroud Slacker
***
Offline


So many bugs

Posts: 1221
Location: Over there
Joined: Oct 2nd, 2012
Gender: Male
Re: Heh, took them long enough
Reply #14 - Oct 8th, 2013 at 9:39am
Print Post  
Flav wrote on Oct 8th, 2013 at 9:36am:
If it's doing SQL querries, I can help...




No I won't tell what it does... but I had to create that query a few years ago.



Thats a recipe for garlic asparagus
  

Frog on all servers, but Cannith is home.
Back to top
 
IP Logged
 
Athanor
Waterworks Kobold
**
Offline


Carpe Diem!

Posts: 112
Location: Xixon
Joined: Mar 19th, 2013
Gender: Male
Re: Heh, took them long enough
Reply #15 - Oct 8th, 2013 at 10:23am
Print Post  
Flav wrote on Oct 8th, 2013 at 9:36am:
If it's doing SQL querries, I can help...




No I won't tell what it does... but I had to create that query a few years ago.


Flav's Got A Secret?  Grin
  

We need more guillotine's revolutions!!!
Back to top
 
IP Logged
 
Flav
Vault Frog
*
Offline


One Frog to Rule them
All!

Posts: 9984
Location: Land of the Frogs
Joined: Aug 29th, 2010
Gender: Male
Re: Heh, took them long enough
Reply #16 - Oct 8th, 2013 at 10:33am
Print Post  
Athanor wrote on Oct 8th, 2013 at 10:23am:
Flav's Got A Secret?  Grin


Yes. Roll Eyes

I was too lazy to create a view, as it was a one shot anyway it wasn't worth the effort.

  

Yes my avatar is an Hermine eating a Greenland Lemming for brunch.
Back to top
 
IP Logged
 
iliveyourdream13
Puppy Farmer
****
Offline


I Love Drama!

Posts: 1521
Joined: Oct 8th, 2013
Re: Heh, took them long enough
Reply #17 - Oct 8th, 2013 at 10:46am
Print Post  
Flav wrote on Oct 8th, 2013 at 9:36am:
If it's doing SQL querries, I can help...




No I won't tell what it does... but I had to create that query a few years ago.


Amatuer SQL.  Wink

This is what real SQL looks like:

Quote:
SELECT                                                 
    PREM.I_PREM                                        
   ,VAL.I_KEY                                          
   FROM                                                
      (                                                
       SELECT                                          
          I_DOMN                                       
         ,I_PHAS_TYPE_PREM                              
         ,I_PREM                                       
         ,I_TYPE_SUBJ_PREM                              
         ,I_SUBJ_PREM                                  
         ,I_COND_PREM                                  
         ,I_PRED_PREM                                  
         ,I_TYPE_PRED_PREM                              
         ,I_VAL_STAR                                    
         ,I_VAL_END                                    
       FROM VKM97460                                    
       WHERE                                           
             I_CLIE            = :KM460-I-CLIE         
         AND I_DOMN            = :KM460-I-DOMN         
         AND I_PHAS_TYPE_PREM  = :KM460-I-PHAS-TYPE-PREM
         AND D_EFFC            = :KM460-D-EFFC         
         AND I_TYPE_SUBJ_PREM  = :WS390-GL             
         AND I_TYPE_PRED_PREM  IN (:WS390-CL            
                                  ,:WS390-DA            
                               )               
   ) AS PREM                                  
                                              
INNER      JOIN                               
   (                                          
    SELECT I_PREM                              
    FROM   SESSION.TKM97PF                     
    WHERE  F_EVAL = :WS390-Y                  
   ) AS FILTER                                 
ON FILTER.I_PREM = PREM.I_PREM                
                                              
INNER      JOIN                               
   (                                          
    SELECT                                    
        I_DOMN                                 
       ,I_KEY_DOMN                            
       ,I_PHAS_FIEL                           
       ,I_VAL                                 
       ,I_TYPE_FIEL                           
       ,I_KEY                                 
    FROM VKM97150                              
    WHERE                                     
          I_DOMN          = :KM150-I-DOMN      
      AND I_KEY_DOMN      = :KM150-I-KEY-DOMN 
      AND I_PHAS_FIEL     = :KM150-I-PHAS-FIEL
   ) AS VAL                                       
                                                   
ON                                                
   (    PREM.I_DOMN         = VAL.I_DOMN          
    AND PREM.I_PHAS_TYPE_PREM = VAL.I_PHAS_FIEL   
    AND PREM.I_SUBJ_PREM      = VAL.I_TYPE_FIEL   
   )                                              
WHERE                                             
   (                                              
     (                                             
       PREM.I_TYPE_PRED_PREM   = :WS390-DA         
      AND                                          
      (                                           
       ( I_COND_PREM IN (:WS390-EQ                
                        ,:WS390-GE                
                        ,:WS390-LE                
                        )                         
                                                   
         AND VAL.I_VAL      = PREM.I_PRED_PREM    
       )                                          
     OR                                           
       ( I_COND_PREM    IN (:WS390-GT             
                           ,:WS390-GE             
                           )                      
      AND VAL.I_VAL      <  PREM.I_PRED_PREM
     )                                       
   OR                                       
     ( I_COND_PREM    IN (:WS390-LT         
                         ,:WS390-LE         
                         )                  
      AND VAL.I_VAL      >  PREM.I_PRED_PREM
     )                                       
   OR                                       
     ( I_COND_PREM    IN (:WS390-NE         
                         )                  
      AND VAL.I_VAL     <>  PREM.I_PRED_PREM
     )                                       
   )                                        
)                                          
OR                                          
(                                          
   PREM.I_TYPE_PRED_PREM = :WS390-CL         
   AND                                       
   PREM.I_VAL_STAR     <= VAL.I_VAL         
   AND                                       
   PREM.I_VAL_END      >= VAL.I_VAL         
)                                          
)                                           
  UNION ALL                               
                                          
SELECT SUBJ.I_PREM                        
      ,SUBJ.I_KEY                         
  FROM                                    
     (SELECT                              
         PREM.I_PREM                      
        ,PREM.I_COND_PREM                  
        ,VAL.I_KEY                        
        ,VAL.I_VAL                        
      FROM                                 
         (                                 
          SELECT                           
              I_DOMN                      
             ,I_PHAS_TYPE_PREM            
             ,I_TYPE_FIEL                  
             ,I_SUBJ_PREM                  
             ,I_COND_PREM                  
             ,I_PRED_PREM                  
             ,I_PREM                      
          FROM VKM97460                   
          WHERE                           
          I_CLIE             = :KM460-I-CLIE         
      AND I_DOMN             = :KM460-I-DOMN         
      AND I_PHAS_TYPE_PREM   = :KM460-I-PHAS-TYPE-PREM
      AND D_EFFC             = :KM460-D-EFFC         
      AND I_TYPE_SUBJ_PREM   = :WS390-GL             
      AND I_TYPE_PRED_PREM   = :WS390-GL             
    ) AS PREM                                        
                                                      
INNER      JOIN                                       
   (                                                 
    SELECT I_PREM                                    
    FROM   SESSION.TKM97PF                           
    WHERE  F_EVAL = :WS390-Y                         
   ) AS FILTER                                       
ON FILTER.I_PREM = PREM.I_PREM                        
                                                      
INNER      JOIN                                       
    (                                                
     SELECT                                          
         I_DOMN                                       
        ,I_KEY_DOMN                                  
        ,I_PHAS_FIEL                                 
        ,I_VAL                                       
        ,I_TYPE_FIEL                                 
        ,I_KEY                                       
     FROM VKM97150                                 
     WHERE                                          
           I_DOMN             = :KM150-I-DOMN      
       AND I_KEY_DOMN         = :KM150-I-KEY-DOMN   
       AND I_PHAS_FIEL        = :KM150-I-PHAS-FIEL 
    ) AS VAL                                       
                                                   
    ON                                             
                                                   
      (    PREM.I_DOMN           = VAL.I_DOMN      
       AND PREM.I_PHAS_TYPE_PREM = VAL.I_PHAS_FIEL 
       AND PREM.I_SUBJ_PREM      = VAL.I_TYPE_FIEL 
      )                                             
    ) AS SUBJ                                       
INNER JOIN                                          
                                                   
(SELECT                                             
    PREM.I_PREM                                    
   ,PREM.I_COND_PREM                               
   ,VAL.I_KEY                                       
   ,VAL.I_VAL                                       
FROM                                                
    (                                              
     SELECT                                        
         I_DOMN                                    
        ,I_PHAS_TYPE_PREM                            
        ,I_TYPE_FIEL                                 
        ,I_SUBJ_PREM                                 
        ,I_COND_PREM                                 
        ,I_PRED_PREM                                 
        ,I_PREM                                       
     FROM VKM97460                                    
     WHERE                                           
          I_CLIE             = :KM460-I-CLIE         
      AND I_DOMN             = :KM460-I-DOMN         
      AND I_PHAS_TYPE_PREM   = :KM460-I-PHAS-TYPE-PREM
      AND D_EFFC             = :KM460-D-EFFC         
      AND I_TYPE_SUBJ_PREM   = :WS390-GL             
      AND I_TYPE_PRED_PREM   = :WS390-GL             
    ) AS PREM                                        
                                                      
INNER      JOIN                                       
    (                                                
     SELECT                                          
         I_DOMN                                       
        ,I_KEY_DOMN                                  
        ,I_PHAS_FIEL                                 
        ,I_VAL                                       
        ,I_TYPE_FIEL                                 
        ,I_KEY                                       
     FROM VKM97150                                  
     WHERE                                          
           I_DOMN             = :KM150-I-DOMN       
       AND I_KEY_DOMN         = :KM150-I-KEY-DOMN   
       AND I_PHAS_FIEL        = :KM150-I-PHAS-FIEL   
    ) AS VAL                                        
                                                    
    ON                                              
                                                    
      (    PREM.I_DOMN           = VAL.I_DOMN       
       AND PREM.I_PHAS_TYPE_PREM = VAL.I_PHAS_FIEL   
       AND PREM.I_PRED_PREM      = VAL.I_TYPE_FIEL   
      )                                             
    )AS PRED                                        
ON  (SUBJ.I_PREM = PRED.I_PREM                      
    )                                                
WHERE                                                
    ( SUBJ.I_COND_PREM IN (:WS390-EQ                
                     ,:WS390-GE                     
                     ,:WS390-LE                     
                     )                              
                                                    
      AND SUBJ.I_VAL     = PRED.I_VAL               
    )                                                
  OR                                                
         ( SUBJ.I_COND_PREM    IN (:WS390-GT
                             ,:WS390-GE      
                             )               
          AND SUBJ.I_VAL     >  PRED.I_VAL   
         )                                  
       OR                                    
         ( SUBJ.I_COND_PREM    IN (:WS390-LT
                             ,:WS390-LE      
                             )               
          AND SUBJ.I_VAL     <  PRED.I_VAL   
         )                                  
       OR                                    
         ( SUBJ.I_COND_PREM    IN (:WS390-NE
                             )               
          AND SUBJ.I_VAL    <>  PRED.I_VAL   
         )                                  
  UNION ALL                                 
                                             
SELECT SUBJ.I_PREM                           
      ,SUBJ.I_KEY                           
  FROM                                       
     (SELECT                                 
         PREM.I_PREM                        
   ,PREM.I_COND_PREM                                 
   ,VAL.I_KEY                                        
   ,VAL.I_VAL                                        
FROM                                                
    (                                                
     SELECT                                          
         I_DOMN                                       
        ,I_PHAS_TYPE_PREM                            
        ,I_TYPE_FIEL                                 
        ,I_SUBJ_PREM                                 
        ,I_COND_PREM                                 
        ,I_PRED_PREM                                 
        ,I_PREM                                       
     FROM VKM97460                                    
     WHERE                                           
          I_CLIE             = :KM460-I-CLIE         
      AND I_DOMN             = :KM460-I-DOMN         
      AND I_PHAS_TYPE_PREM   = :KM460-I-PHAS-TYPE-PREM
      AND D_EFFC             = :KM460-D-EFFC         
      AND I_TYPE_SUBJ_PREM   = :WS390-GL             
      AND I_TYPE_PRED_PREM   = :WS390-GR             
    ) AS PREM                                        
                                                      
INNER      JOIN                                       
   (                                                 
    SELECT I_PREM                                 
    FROM   SESSION.TKM97PF                        
    WHERE  F_EVAL = :WS390-Y                      
   ) AS FILTER                                    
ON FILTER.I_PREM = PREM.I_PREM                     
                                                   
INNER      JOIN                                    
    (                                             
     SELECT                                       
         I_DOMN                                    
        ,I_KEY_DOMN                               
        ,I_PHAS_FIEL                              
        ,I_VAL                                    
        ,I_TYPE_FIEL                              
        ,I_KEY                                    
     FROM VKM97150                                 
     WHERE                                        
           I_DOMN             = :KM150-I-DOMN      
       AND I_KEY_DOMN         = :KM150-I-KEY-DOMN 
       AND I_PHAS_FIEL        = :KM150-I-PHAS-FIEL
    ) AS VAL                                       
                                                   
    ON                                             
                                                   
      (    PREM.I_DOMN           = VAL.I_DOMN      
       AND PREM.I_PHAS_TYPE_PREM = VAL.I_PHAS_FIEL
       AND PREM.I_SUBJ_PREM      = VAL.I_TYPE_FIEL
      )                                           
    ) AS SUBJ                                     
INNER JOIN                                        
                                                   
(SELECT                                           
    PREM.I_PREM                                    
   ,PREM.I_COND_PREM                              
   ,VAL.I_KEY                                     
   ,VAL.I_VAL                                     
FROM                                              
    (                                             
     SELECT                                       
         I_DOMN                                    
        ,I_PHAS_TYPE_PREM                         
        ,I_TYPE_FIEL                              
        ,I_SUBJ_PREM                              
        ,I_COND_PREM                              
        ,I_PRED_PREM                              
        ,I_PREM                                    
     FROM VKM97460                                 
     WHERE                                        
          I_CLIE             = :KM460-I-CLIE      
      AND I_DOMN             = :KM460-I-DOMN      
      AND I_PHAS_TYPE_PREM   = :KM460-I-PHAS-TYPE-PREM
      AND D_EFFC             = :KM460-D-EFFC         
      AND I_TYPE_SUBJ_PREM   = :WS390-GL             
      AND I_TYPE_PRED_PREM   = :WS390-GL             
    ) AS PREM                                        
                                                      
INNER      JOIN                                       
    (                                                
     SELECT                                          
         I_DOMN                                       
        ,I_KEY_DOMN                                  
        ,I_PHAS_FIEL                                 
        ,I_VAL                                       
        ,I_TYPE_FIEL                                 
        ,I_KEY                                       
     FROM VKM97150                                    
     WHERE                                           
           I_DOMN             = :KM150-I-DOMN         
       AND I_KEY_DOMN         = :KM150-I-KEY-DOMN    
       AND I_PHAS_FIEL        = :KM150-I-PHAS-FIEL   
    ) AS VAL                                          
                                                      
    ON                                                
                                                      
      (    PREM.I_DOMN           = VAL.I_DOMN         
       AND PREM.I_PHAS_TYPE_PREM = VAL.I_PHAS_FIEL
       AND PREM.I_PRED_PREM      = VAL.I_TYPE_FIEL
      )                                          
    )AS PRED                                     
ON  (SUBJ.I_PREM = PRED.I_PREM                   
     AND                                          
     SUBJ.I_KEY  = PRED.I_KEY                     
    )                                             
WHERE                                             
    ( SUBJ.I_COND_PREM IN (:WS390-EQ             
                     ,:WS390-GE                  
                     ,:WS390-LE                  
                     )                           
                                                 
      AND SUBJ.I_VAL     = PRED.I_VAL            
    )                                             
  OR                                             
    ( SUBJ.I_COND_PREM    IN (:WS390-GT          
                        ,:WS390-GE               
                        )                        
     AND SUBJ.I_VAL     >  PRED.I_VAL            
    )                                             
  OR                                             
    ( SUBJ.I_COND_PREM    IN (:WS390-LT          
                        ,:WS390-LE               
                           )                
        AND SUBJ.I_VAL     <  PRED.I_VAL    
       )                                    
     OR                                     
       ( SUBJ.I_COND_PREM    IN (:WS390-NE   
                           )                
        AND SUBJ.I_VAL    <>  PRED.I_VAL    
       )                                    
OPTIMIZE FOR 1 ROW                           
WITH UR                                                             


To misquote Lolth, "There's no rock you can hide under where I can't find you!"  Roll Eyes
  
Back to top
 
IP Logged
 
crunch
Stormreaver Piker
*
Offline



Posts: 745
Location: Europe
Joined: Mar 20th, 2012
Gender: Male
Re: Heh, took them long enough
Reply #18 - Oct 8th, 2013 at 10:52am
Print Post  
iliveyourdream13 wrote on Oct 8th, 2013 at 10:46am:
Amatuer SQL.  Wink

This is what real SQL looks like:


To misquote Lolth, "There's no rock you can hide under where I can't find you!"  Roll Eyes


Penis.
  
Back to top
 
IP Logged
 
Flav
Vault Frog
*
Offline


One Frog to Rule them
All!

Posts: 9984
Location: Land of the Frogs
Joined: Aug 29th, 2010
Gender: Male
Re: Heh, took them long enough
Reply #19 - Oct 8th, 2013 at 11:00am
Print Post  
iliveyourdream13 wrote on Oct 8th, 2013 at 10:46am:
Amatuer SQL.  Wink




Well it's Telecom SQL...
We just deal with phone numbers, so it makes data models easy and queries too.
So Yeah, compared to IT SQL, I'm an amateur.
  

Yes my avatar is an Hermine eating a Greenland Lemming for brunch.
Back to top
 
IP Logged
 
Meursault
Horoluth Raider
****
Offline


I Love Freedom of Speech

Posts: 2410
Location: Hartford, CT; USA
Joined: Aug 22nd, 2013
Gender: Male
Re: Heh, took them long enough
Reply #20 - Oct 8th, 2013 at 11:03am
Print Post  
Flav wrote on Oct 8th, 2013 at 9:36am:

select sdp_BT2..appl200_abonne.anr
       , sdp_BT2..appl201_list_abonne.prof_id
       , sdp_BT2..appl201_list_abonne.prefix
from sdp_BT2..appl200_abonne,sdp_BT2..appl201_list_abonne
where sdp_BT2..appl201_list_abonne.prof_id
            in (select sdp_BT2..appl200_abonne.abonne_id from sdp_BT2..appl200_abonne
                   where sdp_BT2..appl200_abonne.anr
                        not in (select sdp_BT..appl200_abonne.anr from sdp_BT..appl200_abonne))
      and sdp_BT2..appl200_abonne.abonne_id
             in (select sdp_BT2..appl200_abonne.abonne_id from sdp_BT2..appl200_abonne
                    where sdp_BT2..appl200_abonne.anr
                         not in (select sdp_BT..appl200_abonne.anr from sdp_BT..appl200_abonne))
order by sdp_BT2..appl200_abonne.anr


Oh, veeeeery nice, a double deep nested subquery with correlation? That's some prime job security there!

So you won't tell, but will you answer if we guess? I'm thinking it's part of a database migration where you are looking for details on a foreign key value (and the items that reference it) that is new to the new database? I'll definitely go back and puzzle over that one after work.

I'm doing a migration now myself but sadly my predecessor didn't use foreign key constraints or normalization much, so the queries I'm analyzing are not as interesting as this Smiley

EDIT:
iliveyourdream13 wrote on Oct 8th, 2013 at 10:46am:
This is what real SQL looks like:

OK, now that's not funny, I think I just heard my brain shriek in pain
« Last Edit: Oct 8th, 2013 at 11:06am by Meursault »  

Turdbin, keep changing the DDO rules, because McDonalds sold over 200 billion hamburgers by changing the recipe for their Special Sauce every couple of months to keep interest up.
Back to top
 
IP Logged
 
iliveyourdream13
Puppy Farmer
****
Offline


I Love Drama!

Posts: 1521
Joined: Oct 8th, 2013
Re: Heh, took them long enough
Reply #21 - Oct 8th, 2013 at 11:10am
Print Post  
Flav wrote on Oct 8th, 2013 at 11:00am:
Well it's Telecom SQL...
We just deal with phone numbers, so it makes data models easy and queries too.
So Yeah, compared to IT SQL, I'm an amateur.

Just yanking your developer chain.  Grin

Fear not, unless Turbine wires me a large pile of TP, I'm not helping them track down exploiters.
  
Back to top
 
IP Logged
 
Kimberlite
Shroud Slacker
***
Offline


I Love Drama!

Posts: 1074
Joined: Aug 30th, 2010
Re: Heh, took them long enough
Reply #22 - Oct 8th, 2013 at 11:40am
Print Post  
https://www.ddo.com/forums/showthread.php/427450-So-now-that-we-know-Big-Brother...

Quote:
Actions & investigations are already deploying, game patches are underway, and logs are being collected (particularly of those who shrugged off the launcher message regarding it). At this point there's not a lot left to say.

It's a no-win situation for them. Unfortunately, all this message does is reinforce the "exploit early, exploit often" mentality that Turdbine has cultivated in DDO over the years. The statement "particularly of those who shrugged off the launcher message" sends the wrong signals completely. If your punishment is worse when you're part of the herd, then all the more incentive to get in on the act at the beginning.

I believe that Turbine's greed and addiction to the cash flow from selling storage space is what ultimately brought them to this. They would have made more money from delivering better content and superior usability for players, but they chose their path a long time ago.

The revenue from extra character bank slots, shared bank, store-only bags, and character inventory slots kept them from delivering a simple inventory management system that benefited players. Instead, they made the storage space issue even worse for existing players with every update, turning existing loot into BtC garbage, and adding more and more items like crafting ingredients, new augments, etc. Oh, and then new bags / cookie jars to store some of this junk.

It is sweet to see such a huge bug result as a consequence of their own greed and lack of concern for players. Schadenfreude. Couldn't have happened to a better bunch.
  

Memnir wrote on Jun 14th, 2013 at 10:59am:
Note to any Turbine staffers reading this, and one I genuinely hope you share around the office: DDO has become a shit game because y'all have made it a shit game. Once it was great. Now, it's a festering puddle of monkey diarrhea. No matter how you try to justify it, or pat yourselves on the back for doing great jobs... it's a shit game now because of you. Y'all keep on giving the players the middle finger, and you keep expecting us to reward you for the abuse. I've had it with you narcissistic fuckwads and your myopic policies of ineptitude.
Back to top
 
IP Logged
 
sadface
Waterworks Kobold
**
Offline


I Love Drama!

Posts: 105
Joined: Jun 19th, 2012
Re: Heh, took them long enough
Reply #23 - Oct 8th, 2013 at 11:52am
Print Post  
Kimberlite wrote on Oct 8th, 2013 at 11:40am:
It is sweet to see such a huge bug result as a consequence of their own greed and lack of concern for players. Schadenfreude. Couldn't have happened to a better bunch.



this
  
Back to top
 
IP Logged
 
iliveyourdream13
Puppy Farmer
****
Offline


I Love Drama!

Posts: 1521
Joined: Oct 8th, 2013
Re: Heh, took them long enough
Reply #24 - Oct 8th, 2013 at 11:55am
Print Post  
Meursault wrote on Oct 8th, 2013 at 11:03am:
Oh, veeeeery nice, a double deep nested subquery with correlation? That's some prime job security there!

So you won't tell, but will you answer if we guess? I'm thinking it's part of a database migration where you are looking for details on a foreign key value (and the items that reference it) that is new to the new database? I'll definitely go back and puzzle over that one after work.

I'm doing a migration now myself but sadly my predecessor didn't use foreign key constraints or normalization much, so the queries I'm analyzing are not as interesting as this Smiley

EDIT:
OK, now that's not funny, I think I just heard my brain shriek in pain

Here's another for you to ponder:

Quote:
        DECLARE KM160F CURSOR WITH HOLD                      
                              WITH ROWSET POSITIONING FOR    
     WITH                                                    
        RULES                                                
         (                                                   
              I_CLIE                                          
             ,I_DOMN                                          
             ,I_RULE                                          
             ,I_COMPN_RULE                                    
             ,I_LEVL_RULE                                    
             ,I_TYPE_SUBJ_RULE                               
             ,I_SUBJ_RULE                                    
             ,F_SUBJ_NEGT                                    
             ,I_COND_RULE                                    
             ,I_TYPE_PRED_RULE                               
             ,I_PRED_RULE                                    
             ,F_PRED_NEGT                                    
             ,F_REFR_COMPN                                    
         )                                                   
        AS                                                   
         (                                                   
            SELECT                                           
              I_CLIE                                        
             ,I_DOMN                                        
             ,RULE.I_RULE                                    
             ,I_COMPN_RULE                                  
             ,I_LEVL_RULE                                    
             ,I_TYPE_SUBJ_RULE                              
             ,I_SUBJ_RULE                                    
             ,F_SUBJ_NEGT                                    
             ,I_COND_RULE                                    
             ,I_TYPE_PRED_RULE                              
             ,I_PRED_RULE                                    
             ,F_PRED_NEGT                                    
             ,F_REFR_COMPN                                  
            FROM (                                          
            SELECT                                          
              I_CLIE                                        
             ,I_DOMN                                        
             ,I_RULE                                        
             ,I_COMPN_RULE                                  
             ,I_LEVL_RULE                                    
             ,I_TYPE_SUBJ_RULE                              
             ,I_SUBJ_RULE                                    
             ,F_SUBJ_NEGT                                    
             ,I_COND_RULE                                    
             ,I_TYPE_PRED_RULE                              
             ,I_PRED_RULE                                     
             ,F_PRED_NEGT                                     
             ,F_REFR_COMPN                                    
            FROM VKM97160                                     
            WHERE I_CLIE                   = :KM160-I-CLIE    
              AND I_DOMN                   = :KM160-I-DOMN    
              AND I_LEVL_RULE              = :KM160-I-LEVL-RULE
              AND F_STATS_RECR             = :WS390-A         
              AND :KM160-D-EFFC-STAR BETWEEN D_EFFC_STAR      
                                         AND D_EFFC_END       
            ) AS RULE                                          
            JOIN                                              
            (                                                 
               SELECT I_RULE                                  
               FROM   SESSION.TKM97RF                         
               WHERE  F_EVAL = :WS390-Y                        
            ) AS FILTER                                       
            ON FILTER.I_RULE = RULE.I_RULE                     
         )                                                    
                                                               
       ,RULES_REF                                             
        (                                                    
              I_CLIE                                          
             ,I_DOMN                                          
             ,I_RULE                                          
             ,I_LEVL_RULE                                    
             ,I_COMPN_RULE                                    
             ,I_TYPE_SUBJ_RULE                               
             ,F_SUBJ_NEGT                                    
             ,I_SUBJ_RULE                                    
             ,I_COND_RULE                                    
             ,I_TYPE_PRED_RULE                               
             ,F_PRED_NEGT                                    
             ,I_PRED_RULE                                    
             ,F_PRED_REF                                     
        )                                                    
       AS                                                    
        (                                                    
           SELECT                                             
              RULE.I_CLIE                                    
             ,RULE.I_DOMN                                    
             ,RULE.I_RULE                                    
             ,RULE.I_LEVL_RULE                               
             ,RULE.I_COMPN_RULE                              
             ,RULE.I_TYPE_SUBJ_RULE                              
             ,RULE.F_SUBJ_NEGT                                    
             ,RULE.I_SUBJ_RULE                                    
             ,RULE.I_COND_RULE                                    
             ,RULE.I_TYPE_PRED_RULE                              
             ,RULE.F_PRED_NEGT                                    
             ,RULE.I_PRED_RULE                                    
             ,CASE WHEN RULE_PRED_COMPN.F_REFR_COMPN             
                                    = :WS390-A     THEN :WS390-Y 
                   WHEN RULE_PRED_PREM.I_TYPE_FIEL_REFR          
                                    > :WS390-20-SP THEN :WS390-Y 
                   ELSE :WS390-N                                 
              END CASE                                           
                                                                  
           FROM                                                   
           (                                                      
              SELECT                                             
                   I_CLIE                                        
                  ,I_DOMN                                        
                  ,I_RULE                                        
                  ,I_LEVL_RULE                                    
                  ,I_COMPN_RULE                                  
                  ,I_TYPE_SUBJ_RULE                              
                  ,F_SUBJ_NEGT                               
                  ,I_SUBJ_RULE                               
                  ,I_COND_RULE                               
                  ,I_TYPE_PRED_RULE                           
                  ,F_PRED_NEGT                               
                  ,I_PRED_RULE                               
              FROM RULES                                     
              WHERE F_REFR_COMPN = :WS390-Y                  
           ) AS RULE                                          
                                                             
           LEFT JOIN                                          
                                                             
           (                                                 
              SELECT                                          
                 I_CLIE                                       
                ,I_DOMN                                       
                ,I_PREM                                       
                ,I_TYPE_FIEL_REFR                            
              FROM VKM97180                                    
              WHERE     D_EFFC_STAR     <= :KM160-D-EFFC-STAR   
                    AND D_EFFC_END      >= :KM160-D-EFFC-STAR   
                    AND F_STATS_RECR     = :WS390-A            
                    AND F_STATS_PREM     = :WS390-A            
                    AND I_CLIE           = :KM160-I-CLIE       
                    AND I_DOMN           = :KM160-I-DOMN       
           ) RULE_PRED_PREM                                    
           ON    RULE.I_TYPE_PRED_RULE = :WS390-P               
             AND RULE_PRED_PREM.I_PREM = RULE.I_PRED_RULE      
                                                               
           LEFT JOIN                                           
                                                               
           (                                                   
              SELECT                                           
                 I_CLIE                                        
                ,I_DOMN                                        
                ,RULE.I_RULE                                    
                ,I_COMPN_RULE                                  
                ,F_REFR_COMPN                                  
              FROM (                                           
              SELECT                                           
                 I_CLIE                                        
                ,I_DOMN                                        
                ,I_RULE                                        
                ,I_COMPN_RULE                                  
                ,F_REFR_COMPN                                  
              FROM VKM97160                                    
              WHERE     D_EFFC_STAR     <= :KM160-D-EFFC-STAR   
                    AND D_EFFC_END      >= :KM160-D-EFFC-STAR   
                    AND F_STATS_RECR     = :WS390-A            
                    AND I_CLIE           = :KM160-I-CLIE       
                    AND I_DOMN           = :KM160-I-DOMN       
            ) AS RULE                                          
            JOIN                                                
            (                                                   
               SELECT I_RULE                                    
               FROM   SESSION.TKM97RF                           
               WHERE  F_EVAL = :WS390-Y                        
            ) AS FILTER                                        
            ON FILTER.I_RULE = RULE.I_RULE                     
           ) RULE_PRED_COMPN                                    
           ON    RULE.I_TYPE_PRED_RULE        = :WS390-C       
             AND RULE_PRED_COMPN.I_RULE       = RULE.I_RULE    
             AND RULE_PRED_COMPN.I_COMPN_RULE = RULE.I_PRED_RULE
        )                                                      
                                                               
       ,RESULTS                                                
         (                                                      
              I_CLIE                                           
             ,I_DOMN                                           
             ,I_RULE                                           
             ,I_TYPE_RESL                                       
             ,I_COMPN_RESL                                     
             ,I_LEVL_RESL                                       
             ,I_KEY_RESL                                       
             ,I_PHAS_RESL                                       
             ,I_REFR                                           
         )                                                      
        AS                                                      
         (                                                      
            SELECT                                             
              I_CLIE                                           
             ,I_DOMN                                           
             ,I_RULE                                           
             ,I_TYPE_RESL                                       
             ,I_COMPN_RESL                                       
             ,I_LEVL_RESL                                       
             ,I_KEY_RESL                                        
             ,I_PHAS_RESL                                       
             ,I_REFR                                             
            FROM VKM97510                                       
            WHERE (                                             
                        I_CLIE         = :KM510-I-CLIE          
                    AND I_DOMN         = :KM510-I-DOMN          
                    AND I_TYPE_RESL   IN (:WS390-C               
                                         ,:WS390-P               
                                         )                      
                    AND I_KEY_DOMN     = :KM510-I-KEY-DOMN      
                    AND I_KEY_RAND     = :KM510-I-KEY-RAND      
                    AND F_STATS_RECR   = :WS390-A               
                  )                                             
         )                                                      
                                                                
        SELECT                                                   
             'WR'                                                
            ,SUBJ.I_CLIE                                        
            ,SUBJ.I_DOMN                                        
            ,SUBJ.I_RULE                                        
            ,SUBJ.F_SUBJ_NEGT                                    
            ,SUBJ.I_COMPN_RULE                                  
            ,SUBJ.I_LEVL_RULE                                    
            ,SUBJ.I_TYPE_SUBJ_RULE                              
            ,SUBJ.I_COND_RULE                                    
            ,SUBJ.I_KEY_RESL                                    
            ,SUBJ.I_PHAS_RESL                                    
            ,SUBJ.I_REFR                                        
            ,SUBJ.I_SUBJ_RULE                                    
            ,PRED.I_RULE                                        
            ,PRED.F_PRED_NEGT                                    
            ,PRED.I_COMPN_RULE                                  
            ,PRED.I_LEVL_RULE                                    
            ,PRED.I_TYPE_PRED_RULE                              
            ,PRED.I_COND_RULE                                    
            ,PRED.I_KEY_RESL                                    
            ,PRED.I_PHAS_RESL                                    
            ,PRED.I_REFR                                        
            ,PRED.I_PRED_RULE                                    
        FROM                                                    
        (                                                         
           SELECT                                                
              RULE.I_CLIE                                        
             ,RULE.I_DOMN                                        
             ,RULE.I_RULE                                        
             ,RULE.I_TYPE_SUBJ_RULE                              
             ,RULE.I_COMPN_RULE                                  
             ,RULE.I_LEVL_RULE                                    
             ,RESL.I_TYPE_RESL                                    
             ,RULE.I_COND_RULE                                    
             ,RULE.F_SUBJ_NEGT                                    
             ,RESL.I_COMPN_RESL                                  
             ,RESL.I_KEY_RESL                                    
             ,RESL.I_PHAS_RESL                                    
             ,IFNULL(RESL.I_REFR,:WS390-20-SP) AS I_REFR         
             ,RULE.I_SUBJ_RULE                                    
             ,CASE WHEN F_PRED_REF                               
                              = :WS390-N THEN :WS390-GENERIC-REFR
                   ELSE IFNULL(RESL.I_REFR,:WS390-20-SP)         
              END AS I_REFR_EFFC                                 
           FROM                                                   
           (                                                      
              SELECT                                             
                  I_CLIE                                          
                 ,I_DOMN                                          
                 ,I_RULE                                          
                 ,I_TYPE_SUBJ_RULE                               
                 ,I_COMPN_RULE                                    
                 ,I_LEVL_RULE                                    
                 ,I_COND_RULE                                    
                 ,F_SUBJ_NEGT                                    
                 ,I_SUBJ_RULE                                    
                 ,F_PRED_REF                                     
              FROM RULES_REF                                     
           ) AS RULE                                             
                                                                  
           LEFT JOIN                                             
                                                                  
           (                                                    
              SELECT                                             
                 I_CLIE                                          
                ,I_DOMN                                          
                ,I_RULE                                          
                ,I_TYPE_RESL                                    
                ,I_COMPN_RESL                                    
                ,I_LEVL_RESL                                    
                ,I_KEY_RESL                                     
                ,I_PHAS_RESL                                    
                ,IFNULL(I_REFR,:WS390-20-SP) AS I_REFR          
              FROM  RESULTS                                     
              WHERE I_REFR              <> :WS390-GENERIC-REFR   
           ) RESL                                                
           ON    RESL.I_CLIE         = RULE.I_CLIE               
             AND RESL.I_DOMN         = RULE.I_DOMN               
             AND RESL.I_TYPE_RESL    = RULE.I_TYPE_SUBJ_RULE    
             AND RESL.I_COMPN_RESL   = RULE.I_SUBJ_RULE         
           WHERE                                                
                (                                              
                 (                                             
                  RULE.I_TYPE_SUBJ_RULE = :WS390-C             
                 AND                                           
                  RESL.I_RULE           = RULE.I_RULE          
                 )                                             
                OR                                             
                  RULE.I_TYPE_SUBJ_RULE = :WS390-P             
                )                                              
        ) AS SUBJ                                              
                                                               
        FULL OUTER JOIN                                        
                                                               
        (                                                      
           SELECT                                              
              RULE.I_CLIE                                       
             ,RULE.I_DOMN                                 
             ,RULE.I_RULE                                 
             ,RULE.I_TYPE_PRED_RULE                      
             ,RULE.I_COMPN_RULE                           
             ,RULE.I_LEVL_RULE                           
             ,RESL.I_TYPE_RESL                           
             ,RULE.I_COND_RULE                           
             ,RULE.F_PRED_NEGT                           
             ,RESL.I_COMPN_RESL                           
             ,RESL.I_KEY_RESL                            
             ,RESL.I_PHAS_RESL                           
             ,IFNULL(RESL.I_REFR,:WS390-20-SP) AS I_REFR 
             ,RULE.I_PRED_RULE                           
                                                         
           FROM                                          
           (                                             
              SELECT                                     
                   I_CLIE                                 
                  ,I_DOMN                                 
                  ,I_RULE                                 
                  ,I_TYPE_PRED_RULE                      
                  ,I_COMPN_RULE                           
                  ,I_LEVL_RULE                           
                  ,I_COND_RULE                           
                  ,F_PRED_NEGT                           
                  ,I_PRED_RULE                                  
                  ,F_PRED_REF                                    
              FROM RULES_REF                                    
           ) AS RULE                                             
                                                                
           LEFT JOIN                                             
                                                                
           (                                                    
              SELECT                                             
                 I_CLIE                                          
                ,I_DOMN                                          
                ,I_RULE                                          
                ,I_TYPE_RESL                                    
                ,I_COMPN_RESL                                    
                ,I_LEVL_RESL                                    
                ,I_KEY_RESL                                     
                ,I_PHAS_RESL                                    
                ,IFNULL(I_REFR,:WS390-20-SP) AS I_REFR          
                                                                
              FROM  RESULTS                                     
           ) RESL                                                
           ON                                                   
                 RESL.I_TYPE_RESL    = RULE.I_TYPE_PRED_RULE    
             AND RESL.I_COMPN_RESL   = RULE.I_PRED_RULE         
           WHERE                                                
                (                                                
                 (                                              
                   RULE.I_TYPE_PRED_RULE  = :WS390-C            
                   AND                                          
                   RESL.I_RULE            = RULE.I_RULE         
                 )                                              
                 OR                                             
                 (                                                
                   RULE.I_TYPE_PRED_RULE  = :WS390-P             
                 )                                                
                )                                                
                AND                                              
                (                                                
                     ( F_PRED_REF = :WS390-Y                     
                       AND                                       
                       I_REFR    <> :WS390-GENERIC-REFR          
                     )                                           
                  OR                                             
                     F_PRED_REF   = :WS390-N                     
                )                                                
        ) AS PRED                                                
        ON                                                      
              SUBJ.I_RULE       = PRED.I_RULE                   
          AND SUBJ.I_COMPN_RULE = PRED.I_COMPN_RULE             
          AND SUBJ.I_REFR_EFFC  = PRED.I_REFR                   
                                                                
      UNION ALL                                                 
                                                                
        SELECT                                                   
             'NR'                                                
            ,SUBJ.I_CLIE                                        
            ,SUBJ.I_DOMN                                        
            ,SUBJ.I_RULE                                        
            ,SUBJ.F_SUBJ_NEGT                                    
            ,SUBJ.I_COMPN_RULE                               
            ,SUBJ.I_LEVL_RULE                                 
            ,SUBJ.I_TYPE_SUBJ_RULE                           
            ,SUBJ.I_COND_RULE                                 
            ,SUBJ.I_KEY_RESL                                 
            ,SUBJ.I_PHAS_RESL                                 
            ,SUBJ.I_REFR                                     
            ,SUBJ.I_SUBJ_RULE                                 
            ,PRED.I_RULE                                     
            ,PRED.F_PRED_NEGT                                 
            ,PRED.I_COMPN_RULE                               
            ,PRED.I_LEVL_RULE                                 
            ,PRED.I_TYPE_PRED_RULE                           
            ,PRED.I_COND_RULE                                 
            ,PRED.I_KEY_RESL                                 
            ,PRED.I_PHAS_RESL                                 
            ,PRED.I_REFR                                     
            ,PRED.I_PRED_RULE                                 
        FROM                                                 
        (                                                    
           SELECT                                             
              RULE.I_CLIE                                    
             ,RULE.I_DOMN                                    
             ,RULE.I_RULE                                       
             ,RULE.I_TYPE_SUBJ_RULE                            
             ,RULE.I_COMPN_RULE                                 
             ,RULE.I_LEVL_RULE                                 
             ,RESL.I_TYPE_RESL                                 
             ,RULE.I_COND_RULE                                 
             ,RULE.F_SUBJ_NEGT                                 
             ,RESL.I_COMPN_RESL                                 
             ,RESL.I_KEY_RESL                                  
             ,RESL.I_PHAS_RESL                                 
             ,IFNULL(RESL.I_REFR,:WS390-20-SP) AS I_REFR       
             ,RULE.I_SUBJ_RULE                                 
           FROM                                                
           (                                                   
              SELECT                                           
                  I_CLIE                                       
                 ,I_DOMN                                       
                 ,I_RULE                                       
                 ,I_TYPE_SUBJ_RULE                              
                 ,I_COMPN_RULE                                 
                 ,I_LEVL_RULE                                  
                 ,I_COND_RULE                                  
                 ,F_SUBJ_NEGT                                  
                 ,I_SUBJ_RULE                                    
              FROM RULES                                        
              WHERE F_REFR_COMPN       <> :WS390-Y               
           ) AS RULE                                             
                                                                
           FULL OUTER JOIN                                       
                                                                
           (                                                    
              SELECT                                             
                 I_CLIE                                          
                ,I_DOMN                                          
                ,I_RULE                                          
                ,I_TYPE_RESL                                    
                ,I_COMPN_RESL                                    
                ,I_LEVL_RESL                                    
                ,I_KEY_RESL                                     
                ,I_PHAS_RESL                                    
                ,IFNULL(I_REFR,:WS390-20-SP) AS I_REFR          
              FROM  RESULTS                                    
              WHERE I_REFR               = :WS390-GENERIC-REFR 
           ) RESL                                              
           ON                                                   
                 RESL.I_TYPE_RESL    = RULE.I_TYPE_SUBJ_RULE   
             AND RESL.I_COMPN_RESL   = RULE.I_SUBJ_RULE         
           WHERE                                                
                (                                              
                 (                                             
                  RULE.I_TYPE_SUBJ_RULE = :WS390-C             
                 AND                                           
                  RESL.I_RULE           = RULE.I_RULE          
                 )                                             
                OR                                             
                 (                                             
                  RULE.I_TYPE_SUBJ_RULE = :WS390-P             
                 )                                             
                )                                              
        ) AS SUBJ                                             
                                                               
        FULL OUTER JOIN                                       
                                                               
        (                                                      
           SELECT                                             
              RULE.I_CLIE                                     
             ,RULE.I_DOMN                                     
             ,RULE.I_RULE                                     
             ,RULE.I_TYPE_PRED_RULE                           
             ,RULE.I_COMPN_RULE                               
             ,RULE.I_LEVL_RULE                                 
             ,RESL.I_TYPE_RESL                                 
             ,RULE.I_COND_RULE                                 
             ,RULE.F_PRED_NEGT                                 
             ,RESL.I_COMPN_RESL                               
             ,RESL.I_KEY_RESL                                 
             ,RESL.I_PHAS_RESL                                 
             ,IFNULL(RESL.I_REFR,:WS390-20-SP) AS I_REFR      
             ,RULE.I_PRED_RULE                                 
           FROM                                                
           (                                                   
              SELECT                                          
                  I_CLIE                                       
                 ,I_DOMN                                       
                 ,I_RULE                                       
                 ,I_TYPE_PRED_RULE                            
                 ,I_COMPN_RULE                                 
                 ,I_LEVL_RULE                                 
                 ,I_COND_RULE                                 
                 ,F_PRED_NEGT                                 
                 ,I_PRED_RULE                                 
              FROM RULES                                       
              WHERE F_REFR_COMPN       <> :WS390-Y            
           ) AS RULE                                          
                                                               
           FULL OUTER JOIN                                    
                                                               
           (                                                   
              SELECT                                           
                 I_CLIE                                        
                ,I_DOMN                                        
                ,I_RULE                                        
                ,I_TYPE_RESL                                    
                ,I_COMPN_RESL                                  
                ,I_LEVL_RESL                                    
                ,I_KEY_RESL                                    
                ,I_PHAS_RESL                                    
                ,I_REFR                                        
              FROM  RESULTS                                    
              WHERE I_REFR               = :WS390-GENERIC-REFR 
           ) RESL                                              
           ON                                                   
                 RESL.I_TYPE_RESL    = RULE.I_TYPE_PRED_RULE   
             AND RESL.I_COMPN_RESL   = RULE.I_PRED_RULE         
           WHERE                                                
                (                                              
                 (                                             
                  RULE.I_TYPE_PRED_RULE = :WS390-C            
                 AND                                          
                  RESL.I_RULE           = RULE.I_RULE         
                 )                                             
                OR                                             
                 (                                             
                  RULE.I_TYPE_PRED_RULE = :WS390-P            
                 )                                             
                )                                             
        ) AS PRED                                             
        ON                                                    
              SUBJ.I_RULE       = PRED.I_RULE                  
          AND SUBJ.I_COMPN_RULE = PRED.I_COMPN_RULE            
        OPTIMIZE FOR 1 ROW                                    
        WITH UR


Now, if you can reverse engineer an approximate understanding of what those two SQLs are doing, I'd look for a better job.  Further, if you can learn to build high-level structured queries in the future for production systems, you'll always have a job.  Smiley

SQL is an amazing, though often underappreciated and subsequently misused, language.  I doubt Turbine's payroll contains anyone on it experienced enough in databases to do serious exploiter research beyond the obvious.  Especially since a data duplication bug pretty much screams race condition or terrible database SQL.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint