If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Partial Retrieval of Data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-02, 00:08
gamini gamini is offline
Registered User
 
Join Date: Mar 2002
Location: india
Posts: 7
Thumbs up Partial Retrieval of Data

Hi All...

We are using ASP and Sybase in our application,We are using ADOs to connect to the DB. The issue is, query is fetching partial data from the DB.(this we found when comapred output with executed same query at the sql prompt). But it is not hapening all the times. If the query which is taking more time (say more than 4-5 minutes) it is giving partial result set instead of giving timeout or some error. How to handle this problem??? It will be fine if we can increase the timeout property (if any) or else atleast i want to trap an error instead of ending up fetching partial data.

Thanks in advance..

Regards,
gamini
Reply With Quote
  #2 (permalink)  
Old 01-02-03, 09:12
mvdb mvdb is offline
Junior Member
 
Join Date: Oct 2002
Posts: 10
You can use the TimeOut property to increase the runtime:
Syntax:

<% Server.ScriptTimeout = 100 %>

with 100 being the number of seconds
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On