-
different Query results for every refresh.
Hi,
Can you please help me.
I wrote an ASP script in which i'm accessing the SQL server7.0 tables. One
of the select statements, a very simple one, is getting different number
of records every time i refresh. Number of records in the table are not changing.
But only the records which are being retrived are changing. I mean sometimes
it retrives 5 records and if you refresh the page immediately it will get
30 records. I tried using different locks on the table when i'm querying,
but in vain.
-
Re: different Query results for every refresh.
Hi,
What Cursor type you are using for the recordset? Try to use adOpenDynamic.
"sam" <havalgi@hotmail.com> wrote:
>
>Hi,
>Can you please help me.
>I wrote an ASP script in which i'm accessing the SQL server7.0 tables. One
>of the select statements, a very simple one, is getting different number
>of records every time i refresh. Number of records in the table are not
changing.
>But only the records which are being retrived are changing. I mean sometimes
>it retrives 5 records and if you refresh the page immediately it will get
>30 records. I tried using different locks on the table when i'm querying,
>but in vain.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks