Results 1 to 2 of 2

Thread: MySQL query time

  1. #1

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    MySQL query time

    in a query, how can i find out how long the query took ?

  2. #2
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    I'm not sure in MySQL, but in code, you could do...
    Code:
    x = Now
    objConn.Execute "UPDATE Mytable bla bla bla"
    MsgBox "Query took " & (Now - x) & "ms."

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