ADO and Cursors with MSSQL
From: Schlup Herbert (hschlup_at_external.ch.nospam)
Date: 03/23/04
- Next message: Paul Redstone: "Undefined function accessing dBase"
- Previous message: D Whaley: "Re: ADO /ACCESS problem"
- Next in thread: Brian Bushay TeamB: "Re: ADO and Cursors with MSSQL"
- Reply: Brian Bushay TeamB: "Re: ADO and Cursors with MSSQL"
- Reply: Arnie Mauer: "Re: ADO and Cursors with MSSQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Mar 2004 13:02:30 -0800
Hi All
I have a programm that uses ADOConnection with MSSQL. I like to insert about 100'000 records. No I saw, that when I use parameters with my Insert-Statement, the memory used by MSSQL is not so heavy increasing as when i use a specific Insert-SQL Statement for each row.
I think this is because ADO creates a cursor for each insert. Now, in several cases I have to use this 2nd possibility. So how can I free the cursors so that the SQL-Server can free the memory?
The problem is that the server is taking memory, and he never free's it.
Herbert
- Next message: Paul Redstone: "Undefined function accessing dBase"
- Previous message: D Whaley: "Re: ADO /ACCESS problem"
- Next in thread: Brian Bushay TeamB: "Re: ADO and Cursors with MSSQL"
- Reply: Brian Bushay TeamB: "Re: ADO and Cursors with MSSQL"
- Reply: Arnie Mauer: "Re: ADO and Cursors with MSSQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|