CURSOR problem
Date: Wed, 4 Aug 2004 11:32:16 -0500
DECLARE accounts_cursor CURSOR FORWARD_ONLY FOR
exec getAccountsData @AccountId
getAccountsData is a stored procedure. Is this not possible? I cant execute
a stored procedure and open up a cursor on that?
Thanks,
Girish
Relevant Pages
- Re: noise words, @@ERROR, and stop and resume indexing
... these words at the beginning before sending them to the cursor. ... Looking for a FAQ on Indexing Services/SQL FTS ... >>Create table Noise ... >>> 1) check noise words inside stored procedure ... (microsoft.public.sqlserver.fulltext) - Re: Error adding command properties for stored procedure call
... I see you are using the SQL Native Client for SQL Server ... A server cursor is not allowed on a remote stored procedure or stored ... The stored procedure called is a test one that simply SELECTs the name field ... int InitializeAndConnect; ... (microsoft.public.data.oledb) - Re: SQL stored procedure not working.
... If I do not use that, how can I get the total record count? ... >> I create a stored procedure and a asp page. ... Even if you could specify the cursor type there, ... > interested in the RETURN value, you do not need to use a Command object. ... (microsoft.public.inetserver.asp.db) - Re: Error adding command properties for stored procedure call
... Microsoft OLE DB Provider for SQL Server ... properties to the command the execute call attempts to create a cursor. ... A server cursor is not allowed on a remote stored procedure or stored ... (microsoft.public.data.oledb) - Re: Case statement issue
... except with a cursor other than the default ... > I have taken the sample of paging using a stored procedure from the ... > case statement, then the error message. ... > The for loop also seems to be a problem. ... (microsoft.public.inetserver.asp.general) |
|