home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 522 of 2,288   
   Markus Breuer to All   
   loss of performance when using anonymous   
   15 Oct 03 14:00:47   
   
   From: markus.breuer@gmx.de   
      
   Instead of using a set of different sql-statements i have decided to use   
   an single, anonymous pl/sql block with host-variables. For example:   
      
   DECLARE   
     cmp   NUMBER := :hostvariable;   
   BEGIN   
       UPDATE t_sample SET c_id=0 WHERE tid>cmp;   
   END;   
      
   Are there any disadvantages concerning simle update-statement?   
   Won't oracle cache such blocks, do they need more processing time or   
   more cpu-power on the server? Or does oracle treat them as any other   
   sql statement?   
      
   thx, markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca