HYT00 Timeout Expired (Error:3633)


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: HYT00 Timeout Expired (Error:3633)

  1. #1
    Haymanth Guest

    HYT00 Timeout Expired (Error:3633)


    Hi,

    I keep getting that error message whenever I try to query all the records
    in the database across 3 tables (I have about 250000 records). If I put a
    whereclause in my sql statement then it's fine. I've tried increasing the
    timeout period in my connection string. It is now at 1000, to no avail.

    Any help you be appreciated, thanks

    H

  2. #2
    Rune Bivrin Guest

    Re: HYT00 Timeout Expired (Error:3633)

    Show us the SQL with and without the WHERE clause. My guess is you're
    getting a cross join, which may well result in well over 1 billion rows,
    which the where clause eliminates.

    --
    Rune Bivrin
    - OOP since 1989
    - SQL Server since 1990
    - VB since 1991



    "Haymanth" <haymanth@time.net.my> wrote in
    news:3e13fcff$1@tnews.web.devx.com:

    >
    > Hi,
    >
    > I keep getting that error message whenever I try to query all the
    > records
    > in the database across 3 tables (I have about 250000 records). If I
    > put a whereclause in my sql statement then it's fine. I've tried
    > increasing the timeout period in my connection string. It is now at
    > 1000, to no avail.
    >
    > Any help you be appreciated, thanks
    >
    > H
    >


  3. #3
    Haymanth Guest

    Re: HYT00 Timeout Expired (Error:3633)


    Hi,

    Well if you want to see the sql, here it is:

    SELECT dbo.DonorId.id AS donorFid,
    dbo.IKSearchSource_VW_AllDonors.donorBBFid,
    dbo.IKSearchSource_VW_AllDonors.donationFid,
    dbo.DonorId.name AS tname, dbo.DonorId.newIC AS tnewic,
    dbo.DonorId.oldIC AS toldic,
    dbo.DonorId.passportNum AS tpassportnum,
    dbo.IKSearchType_VW_BasicSearch.tBloodgroup,
    dbo.IKSearchType_VW_BasicSearch.tRh,
    dbo.IKSearchType_VW_BasicSearch.tCDE,
    dbo.IKSearchType_VW_BasicSearch.tBloodpackNumber,
    dbo.IKSearchType_VW_BasicSearch.LabRef,
    dbo.IKSearchSource_VW_AllDonors.LastDonation,
    dbo.IKSearchType_VW_BasicSearch.tDonationType,
    dbo.IKSearchSource_VW_AllDonors.LastBloodbank
    FROM dbo.IKSearchSource_VW_AllDonors LEFT OUTER JOIN
    dbo.IKSearchType_VW_BasicSearch ON
    dbo.IKSearchSource_VW_AllDonors.donationFid = dbo.IKSearchType_VW_BasicSearch.tDonationFid
    RIGHT OUTER JOIN
    dbo.DonorId ON
    dbo.IKSearchSource_VW_AllDonors.donorFid = dbo.DonorId.id


    This view relies on other views as well....I reckon you're right on this
    one....thanks...

    H

    Rune Bivrin <rune@bivrin.com> wrote:
    >Show us the SQL with and without the WHERE clause. My guess is you're
    >getting a cross join, which may well result in well over 1 billion rows,


    >which the where clause eliminates.
    >
    >--
    >Rune Bivrin
    > - OOP since 1989
    > - SQL Server since 1990
    > - VB since 1991
    >
    >
    >
    >"Haymanth" <haymanth@time.net.my> wrote in
    >news:3e13fcff$1@tnews.web.devx.com:
    >
    >>
    >> Hi,
    >>
    >> I keep getting that error message whenever I try to query all the
    >> records
    >> in the database across 3 tables (I have about 250000 records). If I
    >> put a whereclause in my sql statement then it's fine. I've tried
    >> increasing the timeout period in my connection string. It is now at
    >> 1000, to no avail.
    >>
    >> Any help you be appreciated, thanks
    >>
    >> H
    >>



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center