Afficher un message
Vieux 08/09/2007, 14h53   #3
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Updating a row in a recordset

To add on to Erland's response, APIs that use client cursors often require
that each row have a unique column(s) (e.g. primary key) in order to be
updatable. This is because an UPDATE statement is generated under the
covers and the generated WHERE clause needs to specify values that uniquely
identify the row to be updated. Make sure all tables have a primary key.


--
Hope this s.

Dan Guzman
SQL Server MVP

"Charlie" <jadkins4@yahoo.com> wrote in message
news:46e1bcd7$0$32553$4c368faf@roadrunner.com...
> What properties to you set to make a SQL 2005 recordset updatable?
>
> In Access, it's
> Recordset.edit
> Recordset!FieldName=SomeValue
> Recordset.update
>
> Any is appreciated.
>


  Réponse avec citation
 
Page generated in 0,04936 seconds with 9 queries