Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update not working
Message
De
12/08/2011 05:15:04
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Update not working
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01520808
Message ID:
01520808
Vues:
80
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform