Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I step out of a transaction
Message
 
 
À
28/11/2011 09:18:22
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01529923
Message ID:
01529925
Vues:
45
>hi
>
>I have an importing process that is loading members into a SQL table.
>
>There are several other tables that I also have to create entries in for address, subscription etc.
>
>I've wrapped everything in a transaction so if one item fails I can rollback nothing gets added and that all works ok.
>
>Is there any way I can update a file outside the transaction while its running. I don't want one particular thing to be based on the transaction at all.
>
>Thanks

Use table variable - it does not participate in a transaction. You can append from this table variable into real table.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform