Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 not bale to get 3,00000 records from select query
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 11/19/2012 :  01:56:15  Show Profile  Reply with Quote
We have licensed version of Sqlserver software in Dedicated server.In that we are maintaining Database for my application
In Database one table has 3,33,000 records ,when we are retrieving at first time of execution it should fetch entire records at a time(3,33,000)
But it fetches 1,80,000 records .For next text time execution it will show 1,90,000 ,and for next time execution it increases like this happens.
finally i will get the result after many times of execution.

For this i have done surfing on google by implementing below options.
1.By increasing command time out in Sqlserver

2.By increasing command time out in functionality wise.
set command timeout="50000" in web.config file

i have used above options,but not yet resolved .

Can you please give an idea to resolve this issue.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 11/19/2012 :  02:33:12  Show Profile  Reply with Quote
very vague question
few things to further clarify

1. does query involve single table or multiple tables joined?
2. does the query involve a date filter based on getdate function?
3. where are you running the query? in SSMS or in some other window?

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000