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

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 not bale to get 3,00000 records from select query

Author  Topic 

srilatha
Starting Member

1 Post

Posted - 2012-11-19 : 01:56:15
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

52326 Posts

Posted - 2012-11-19 : 02:33:12
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
   

- Advertisement -