Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update not working
Message
From
12/08/2011 05:15:04
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Update not working
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01520808
Message ID:
01520808
Views:
81
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
Map
View

Click here to load this message in the networking platform