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

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

srilatha
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
References:
1)http://www.hosting.com/support/sql/configure-query-timeout-period-in-sql-management-studio
2)http://stackoverflow.com/questions/1137190/changing-the-commandtimeout-in-sql-management-studio

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.

visakh16
Very Important crosS Applying yaK Herder

India
52309 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
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000