SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    eez
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Let's say a select query lasts 40sec. Isthere a way to stop this query after 6sec?

    hi!

    Let's say a select query lasts 40sec.

    Is there a way to stop this query after let's say 6 seconds and let PHP know that??? (and then tell the user that: "Sorry. This query was too time consuming...")

    Thanx much.

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2005
    Location
    Wonderful Malaysia
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont believe you can do that..
    but if someone has the way..it's good to share..
    'Only Paranoid Will Survived'

  3. #3
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    eez
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey someone knows,??

  4. #4
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    eez
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello? i know vb has some sort of variant of limiting query time but ???

  5. #5
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    eez
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ?

  6. #6
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    eez
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ?

  7. #7
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,341
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    aqw, please don't keep bumping your thread

    it seems nobody knows
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

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