Results 1 to 3 of 3

Thread: SQL Statement and background processing

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    20

    SQL Statement and background processing

    I'm working on a database project that uses MySQL and VB6. The program has lots of SQL statement for processing data and neither one object is bound to the database, everything is fetch and save manually.

    One thing I notice about the system is, whenever I pass a query, the computer where the program is becomes idle, it waits for the server to finish the processing.
    What I wanted to do is something like this... if I issue

    dbConnection.execute sqlStatement

    I like the workstation not to become idle or not to wait especially if the query is an "Update" or "Insert" query.

    Is this possible ?

    (I saw this idea in MySQL Query Browser and MySQL Command Center. Whenever you click on the execute button, the workstation seems like just to "pass" the query to the server then it will just fetch the data if it is ready. you can do anything on the system while you wait for your data to come.)

    Thank you very much in advance

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: SQL Statement and background processing

    You might want to issue your commands asynchronously, take a search on it.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    20

    Re: SQL Statement and background processing

    Quote Originally Posted by dee-u
    You might want to issue your commands asynchronously, take a search on it.

    Thank you dee-u ! great help !

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