H
Harry F. Harrison
I'm executing the .ExecuteNonQuery method of a SQLCommand object, with the
following SQL:
UPDATE BUDGET_ACCOUNT
SET Deleted = 1, DATE_DELETED = GetDate(), MODIFIED_BY_ID_FK = 1
WHERE ID = 951956
If I copy this SQL code to Query Analyzer, it returns 1 record affected.
However, if I run it in ADO.NET, it returns 2.
'ID' is the primary key, and is an auto numbered identity field...
I do not have a 'delete' trigger on the table.
Running VS 2003. SQL Server 2000 SP3. Win2K.
following SQL:
UPDATE BUDGET_ACCOUNT
SET Deleted = 1, DATE_DELETED = GetDate(), MODIFIED_BY_ID_FK = 1
WHERE ID = 951956
If I copy this SQL code to Query Analyzer, it returns 1 record affected.
However, if I run it in ADO.NET, it returns 2.
'ID' is the primary key, and is an auto numbered identity field...
I do not have a 'delete' trigger on the table.
Running VS 2003. SQL Server 2000 SP3. Win2K.