Results 1 to 2 of 2

Thread: query is cancelled

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    1

    Question

    I am trying to run an SQL statement that would sum 25 columns of a certain table with a large number of records.
    Using the same select statement with a condition that will yield to a few query result, the select statement generates the expected output. I would like to know what might be the cause of cancellation of the execution of the said SQL which I encounter whenever I use condition that would generate a large query result? Is there a maximum number for records returned?

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    32

    Smile

    Your wait time may be expiring with the large return set you might want to increase the time you can wait. You would change that on your connection object.

    con1.CommandTimeout = 1000

    I think

    Phil
    VB 6, SQL, Java, AutoLISP, Avenue and on a good day AML

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