vd
asked on
sp_addextendedproc usage
While using SQL Trace on an application, I noticed the following code:
sp_cursorfetch 95226679,2,0,1
sp_cursorfetch is defined as follows:
exec sp_addextendedproc 'sp_cursorfetch','(server internal)'
Could someone explain what is happening here?
sp_cursorfetch 95226679,2,0,1
sp_cursorfetch is defined as follows:
exec sp_addextendedproc 'sp_cursorfetch','(server internal)'
Could someone explain what is happening here?
There are two ways ODBC driver can 'request' data from SQL server can send data to your application - either by executing straight select and sending all the data at once -in this case you will see 'SELECT....' statement.
In the secon case it builds cursor on the server side and uses sp_cursorfetch to fetch data in chunks.
In the secon case it builds cursor on the server side and uses sp_cursorfetch to fetch data in chunks.
ASKER
What would be the reason to use this method? Also, what
are the parameters being used, such as 952266979 ?
are the parameters being used, such as 952266979 ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER