General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Hi
any ideas why this is not working
I know that @NewIndividualRef and @NewwJointIndividualRef have valid keys in them
I've printed them juts before the statement to check
The update doesn't produce an error code. If enter the update staement outside the stored procedure it work ok.
Any ideas ?
thanks
begin try
update [test_nm].[dbo].[individual] set individual.family_ref = @NewIndividualRef where individual.individual_ref = @NewwJointIndividualRef
end try
begin catch
SELECT ERROR_NUMBER() AS ErrorNumber
end catch
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only