DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Better query efficiency

Threaded View

  1. #1
    Join Date
    Feb 2003
    Posts
    3

    Better Script Efficienty

    I have an plsql script containing something like this:

    daylist =
    "01
    02
    ...
    "
    hourlist =
    "01
    02
    03
    ...
    "
    minutelist =
    "00
    01
    ...
    "
    for day in daylist; do
    for hour in hourlist; do
    for minute in minutelist; do
    Select $day$hour$minute
    do stuff...

    I am having no problem getting this to work, but with large amounts of data it takes some time.
    My question is: Is their a more efficient way to go about this??

    Thanks in advance
    Last edited by Nestafaria; 02-14-2003 at 04:21 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width