P
prideaux
I have a (very simple and standard) UPDATE statement which works fine either
directly in Query Analyser, or executed as a stored procedure in Query
Analyser.
UPDATE A
SET
A.field1 = B.col1
, A.field2 = B.col2
FROM
tblA AS A INNER JOIN tblB AS B
ON A.pk1 = B.pk1 AND A.pk2 = B.pk2
Problem is when i execute the same stored proc via microsoft ADP (by
double-clicking on the sproc name or using the Run option), it says "query
ran successfully but did not return records" AND does NOT update the records
when i inspect the tables directly.
Before anyone even says "syntax of MS-Access is different than SQLServer
T-SQL", i remember that with ADP everything happens on the server and one is
actually passing thru to T-SQL.
What's going on here?
directly in Query Analyser, or executed as a stored procedure in Query
Analyser.
UPDATE A
SET
A.field1 = B.col1
, A.field2 = B.col2
FROM
tblA AS A INNER JOIN tblB AS B
ON A.pk1 = B.pk1 AND A.pk2 = B.pk2
Problem is when i execute the same stored proc via microsoft ADP (by
double-clicking on the sproc name or using the Run option), it says "query
ran successfully but did not return records" AND does NOT update the records
when i inspect the tables directly.
Before anyone even says "syntax of MS-Access is different than SQLServer
T-SQL", i remember that with ADP everything happens on the server and one is
actually passing thru to T-SQL.
What's going on here?