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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Addnew problem with Stored procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-07-05 : 15:22:43
Jack writes "Hi there!
I have used a stored procedure to open a recordset(with adOpenStatic,adLockOptimistic).

The stored procedure looks like this :



code:--------------------------------------------------------------------------------
CREATE PROCEDURE [spSample]
(@arg1 int)
AS
select * from Mytable where col1=@arg1
return
--------------------------------------------------------------------------------


and then when I perform Addnew/update methods of ADO on the recordset, I am getting the following error.

Microsoft OLE DB Provider for ODBC Drivers error '8000ffff'

The query is not updateable because the from clause is not a single simple table name.

Please help me.


__________________
Thanks!

Jack."
   

- Advertisement -