Results 1 to 2 of 2

Thread: Query tune

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    1

    Query tune

    I want the below query to be tuned. I tried with union but it's executing in more time. I've also tried with sorting the coloumns in the 2nd table.

    Select a.run_dates_stations_id, a.station_master_id, a.run_dates_id,b.call_letters, b.dma_id from contract.run_dates_stations a left outer join customer.station_master b on a.station_master_id=b.station_master_id where (a.ibmsnap_logmarker= '1900-01-01 11:16:30.0' or b.ibmsnap_logmarker= '1900-01-01 11:16:30.0')


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Query tune

    Are there inexes on the joined fields and fields in where conditions.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact